Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009769/0.009769, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 193.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.188/2.188, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.992/3.992, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 67.91 kB / 0.9504 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 140.4 MB / 1.088 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.00276/1.173, allocations: 0.9478 MB / 1.088 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001346/1.174, allocations: 0.8893 MB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/1.175, allocations: 6.125 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/1.175, allocations: 14.02 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/1.175, allocations: 24.7 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/1.175, allocations: 57.52 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/1.175, allocations: 142.7 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/1.176, allocations: 61.34 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/1.176, allocations: 58.3 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/1.176, allocations: 62.16 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/1.176, allocations: 15.31 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/1.176, allocations: 20.16 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/1.176, allocations: 29.64 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/1.176, allocations: 65.73 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/1.176, allocations: 206.9 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.176, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/1.176, allocations: 0.5625 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.176, allocations: 1.125 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007721/1.177, allocations: 450.1 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.177, allocations: 9.922 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/1.177, allocations: 42.03 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/1.177, allocations: 20.19 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/1.178, allocations: 228.3 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.178, allocations: 9.734 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/1.178, allocations: 12.59 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/1.178, allocations: 139.6 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.178, allocations: 1.094 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/1.178, allocations: 9.312 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/1.178, allocations: 3.078 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/1.179, allocations: 107.3 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009652/1.18, allocations: 475.7 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/1.18, allocations: 85.86 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/1.18, allocations: 37.41 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/1.18, allocations: 0.8438 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/1.18, allocations: 37.17 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/1.18, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006652/1.181, allocations: 142.9 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/1.181, allocations: 56.91 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/1.181, allocations: 190.9 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.181, allocations: 27.69 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/1.182, allocations: 120.1 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/1.182, allocations: 24.16 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/1.182, allocations: 27.55 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.561e-05/1.182, allocations: 326 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/1.182, allocations: 37.3 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.182, allocations: 61.62 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/1.183, allocations: 80.81 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.183, allocations: 3.938 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004575/1.183, allocations: 125.7 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.183, allocations: 5.141 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.183, allocations: 4.906 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.183, allocations: 0.9688 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.183, allocations: 25.02 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.183, allocations: 1.734 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/1.183, allocations: 17.42 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.183, allocations: 2.75 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (exhDamPos.and2.y,exhDamPos.greThr.y,$PRE.exhDamPos.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.184, allocations: 125.8 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/1.184, allocations: 14.08 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/1.184, allocations: 131.9 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.184, allocations: 4.75 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.184, allocations: 4.75 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.184, allocations: 0.7969 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/1.185, allocations: 425.2 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.185, allocations: 0.7969 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.185, allocations: 19.39 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.185, allocations: 0.8125 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/1.185, allocations: 6.25 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.185, allocations: 0.8438 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/1.185, allocations: 4.734 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/1.186, allocations: 214.7 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/1.186, allocations: 94.3 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/1.186, allocations: 6.797 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/1.186, allocations: 18.39 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/1.186, allocations: 9.391 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.186, allocations: 6.984 kB / 1.094 GB, free: 420 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001607/1.186, allocations: 138.2 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/1.186, allocations: 0 / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000501/1.187, allocations: 22 kB / 1.094 GB, free: 320 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008366/1.188, allocations: 0.7563 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004655/1.188, allocations: 89.53 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.188, allocations: 5.125 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/1.188, allocations: 43.3 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/1.189, allocations: 41.67 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/1.192, allocations: 1.777 MB / 1.097 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.193, allocations: 0.7075 MB / 1.097 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001137/1.193, allocations: 16.56 kB / 1.097 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/1.193, allocations: 39.36 kB / 1.097 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/1.193, allocations: 0 / 1.097 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/1.223, allocations: 3.247 MB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.63, allocations: 6.641 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches