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.OutsideAirFlow.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.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6647 GB, free: 388 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 64.12 kB / 0.8127 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5663, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow): time 0.002483/0.5688, allocations: 1.756 MB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.5699, allocations: 1.134 MB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.57, allocations: 6.25 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.5702, allocations: 52.36 kB / 0.9527 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.5703, allocations: 63.61 kB / 0.9527 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.5705, allocations: 144.2 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.5708, allocations: 457.2 kB / 0.9533 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.5711, allocations: 281.8 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.5713, allocations: 176.7 kB / 0.9537 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.5714, allocations: 193.3 kB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.5715, allocations: 54.47 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.692e-05/0.5715, allocations: 51.06 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.5716, allocations: 108 kB / 0.9541 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.5717, allocations: 219.5 kB / 0.9543 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.5721, allocations: 0.6136 MB / 0.9549 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5721, allocations: 0 / 0.9549 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5721, allocations: 0 / 0.9549 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.5721, allocations: 0.9688 kB / 0.9549 GB, free: 5.082 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0008676/0.573, allocations: 0.7248 MB / 0.9556 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.573, allocations: 13.5 kB / 0.9557 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.5731, allocations: 80.23 kB / 0.9557 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.5732, allocations: 54.75 kB / 0.9558 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.5734, allocations: 336.2 kB / 0.9561 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.5735, allocations: 34.03 kB / 0.9561 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.5735, allocations: 48.41 kB / 0.9562 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.5742, allocations: 376.2 kB / 0.9565 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5742, allocations: 0 / 0.9565 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.5742, allocations: 19.44 kB / 0.9566 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.5743, allocations: 10.97 kB / 0.9566 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.575, allocations: 323.5 kB / 0.9569 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5764, allocations: 1.328 MB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.5771, allocations: 306.9 kB / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.5774, allocations: 104.3 kB / 0.9586 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5774, allocations: 2.562 kB / 0.9586 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.5774, allocations: 35.56 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.5774, allocations: 3.938 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0008644/0.5783, allocations: 314.9 kB / 0.9589 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.5783, allocations: 53.56 kB / 0.959 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.5787, allocations: 405.7 kB / 0.9594 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5787, allocations: 31.89 kB / 0.9594 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.5788, allocations: 236.7 kB / 0.9596 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.5788, allocations: 58.5 kB / 0.9597 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.5789, allocations: 59.39 kB / 0.9597 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.579, allocations: 351.1 kB / 0.9601 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.5793, allocations: 93.7 kB / 0.9601 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.5796, allocations: 183.1 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.5801, allocations: 250.2 kB / 0.9606 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5801, allocations: 1.25 kB / 0.9606 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006522/0.5808, allocations: 319.2 kB / 0.9609 GB, free: 464 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5808, allocations: 6.031 kB / 0.9609 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5808, allocations: 6.359 kB / 0.9609 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5808, allocations: 4.25 kB / 0.9609 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.5811, allocations: 51.81 kB / 0.9609 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5811, allocations: 8.172 kB / 0.9609 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.5813, allocations: 70.25 kB / 0.961 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.5813, allocations: 11.44 kB / 0.961 GB, free: 396 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 11 (opeMod.y,outAirSet_SinZon_noOccSen.occMod.y,outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occMod.y,outAirSet_SinZon.occSen.y,outAirSet_SinZon.intEqu1.y,outAirSet_SinZon_noOccSen.intEqu1.y,outAirSet_SinZon_noOccSen.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001509/0.5815, allocations: 158.8 kB / 0.9612 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.5815, allocations: 32.31 kB / 0.9612 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.5816, allocations: 41.3 kB / 0.9612 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5816, allocations: 1.469 kB / 0.9612 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5816, allocations: 5.344 kB / 0.9612 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5816, allocations: 3.938 kB / 0.9612 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.5827, allocations: 0.6926 MB / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5827, allocations: 0 / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.5829, allocations: 41.19 kB / 0.962 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5829, allocations: 0 / 0.962 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5829, allocations: 5.188 kB / 0.962 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.5829, allocations: 5.5 kB / 0.962 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5829, allocations: 0 / 0.962 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.5835, allocations: 342.8 kB / 0.9623 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.5836, allocations: 109 kB / 0.9624 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.5837, allocations: 16.3 kB / 0.9624 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.5839, allocations: 26.5 kB / 0.9624 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.209e-05/0.584, allocations: 24.56 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.584, allocations: 7.75 kB / 0.9625 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002506/0.5842, allocations: 277.9 kB / 0.9627 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.5842, allocations: 0 / 0.9627 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003187/0.5846, allocations: 71.91 kB / 0.9628 GB, free: 15.01 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0009116/0.5855, allocations: 0.8851 MB / 0.9637 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.5861, allocations: 238.2 kB / 0.9639 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5862, allocations: 0 / 0.9639 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.5864, allocations: 98.91 kB / 0.964 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.5868, allocations: 34.23 kB / 0.964 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.5909, allocations: 3.14 MB / 0.9671 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5912, allocations: 0.7951 MB / 0.9679 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.5913, allocations: 33.78 kB / 0.9679 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.5915, allocations: 130.5 kB / 0.968 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.5915, allocations: 0 / 0.968 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.6143, allocations: 5.965 MB / 0.9739 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.21, allocations: 6.25 kB / 0.9739 GB, free: 8.047 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches