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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01146/0.01146, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.003219/0.00322, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.07 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 2.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.177, allocations: 140.4 MB / 1.088 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow): time 0.004249/1.182, allocations: 1.76 MB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002113/1.184, allocations: 1.132 MB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/1.184, allocations: 6.219 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002508/1.184, allocations: 58.5 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/1.184, allocations: 59.78 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/1.185, allocations: 145.8 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005999/1.185, allocations: 469 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/1.186, allocations: 279.5 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/1.186, allocations: 173.3 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/1.187, allocations: 201.1 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/1.187, allocations: 50.22 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.073e-05/1.187, allocations: 51.16 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/1.187, allocations: 104.8 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/1.187, allocations: 216.3 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009461/1.188, allocations: 0.6463 MB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.188, allocations: 0.8438 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.374e-06/1.188, allocations: 0 / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.188, allocations: 0.5156 kB / 1.093 GB, free: 2.406 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001275/1.189, allocations: 0.7222 MB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.189, allocations: 9.031 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/1.19, allocations: 48.56 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/1.19, allocations: 333.3 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/1.19, allocations: 41.03 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/1.19, allocations: 40.25 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/1.191, allocations: 378 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.191, allocations: 0.6562 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/1.191, allocations: 16.38 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/1.191, allocations: 10.09 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/1.192, allocations: 323.8 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/1.194, allocations: 1.328 MB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/1.195, allocations: 307.6 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/1.196, allocations: 106.1 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/1.196, allocations: 3.25 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.196, allocations: 31.06 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 2.445e-06/1.196, allocations: 0 / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.001085/1.197, allocations: 322.8 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/1.197, allocations: 53.91 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/1.198, allocations: 403.6 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.198, allocations: 28.27 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/1.198, allocations: 233.7 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/1.198, allocations: 64.39 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/1.198, allocations: 55.92 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.198, allocations: 350.8 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/1.199, allocations: 89.41 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/1.199, allocations: 187.6 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/1.2, allocations: 252.2 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.2, allocations: 1.062 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008587/1.2, allocations: 312.7 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.201, allocations: 6.031 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.201, allocations: 3.875 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/1.201, allocations: 8.219 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/1.201, allocations: 62.5 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.201, allocations: 5.188 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.201, allocations: 72.34 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.201, allocations: 8.656 kB / 1.099 GB, free: 14.57 MB / 0.8731 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.0002772/1.201, allocations: 158.7 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/1.202, allocations: 39.59 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/1.202, allocations: 39.95 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.202, allocations: 1.281 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.202, allocations: 0 / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.202, allocations: 6.625 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.203, allocations: 0.6885 MB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.203, allocations: 0 / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/1.203, allocations: 41.86 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.203, allocations: 1.219 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/1.203, allocations: 6.312 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.203, allocations: 0.6562 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.203, allocations: 1.031 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/1.204, allocations: 337 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/1.204, allocations: 117.2 kB / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/1.204, allocations: 9.781 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/1.204, allocations: 32.52 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.204, allocations: 26.52 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/1.204, allocations: 4.391 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004938/1.205, allocations: 278.3 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.205, allocations: 0 / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003978/1.205, allocations: 64.47 kB / 1.101 GB, free: 13.42 MB / 0.8731 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.0001874/1.206, allocations: 111.1 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008047/1.206, allocations: 226 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.206, allocations: 3.938 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003448/1.207, allocations: 99.5 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/1.207, allocations: 44.77 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.209, allocations: 0.5947 MB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/1.209, allocations: 0.7978 MB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001932/1.209, allocations: 37.03 kB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.21, allocations: 26.48 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.21, allocations: 0.5 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01058/1.22, allocations: 3.054 MB / 1.106 GB, free: 11.88 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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