Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001019/0.001019, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001594, allocations: 75.88 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9135, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking): time 0.004003/0.9175, allocations: 2.267 MB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.9205, allocations: 1.72 MB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.9211, allocations: 12 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.9215, allocations: 95 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.9221, allocations: 95.12 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.9232, allocations: 338.4 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.9241, allocations: 0.7426 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.9246, allocations: 361.7 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.9249, allocations: 267 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.9252, allocations: 274.6 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.9253, allocations: 84 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.9255, allocations: 91.98 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.9256, allocations: 151.5 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.9259, allocations: 314.4 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.9268, allocations: 1.022 MB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9268, allocations: 0 / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9268, allocations: 3.938 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.9269, allocations: 0 / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001569/0.9284, allocations: 0.9174 MB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.9285, allocations: 12.92 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.9286, allocations: 68.17 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.9296, allocations: 0.4911 MB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.9297, allocations: 37.38 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.9298, allocations: 44.38 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.9307, allocations: 0.5034 MB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.9307, allocations: 7.922 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.9308, allocations: 16 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.9308, allocations: 12 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.9317, allocations: 383.8 kB / 1.177 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.9339, allocations: 1.658 MB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.935, allocations: 0.576 MB / 1.18 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.9356, allocations: 226.9 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.9356, allocations: 8 kB / 1.18 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.9361, allocations: 214 kB / 1.18 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/0.9361, allocations: 0 / 1.18 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001272/0.9374, allocations: 489.6 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.9375, allocations: 110.8 kB / 1.181 GB, free: 6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.938, allocations: 389.6 kB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.938, allocations: 37.7 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.9383, allocations: 279.8 kB / 1.181 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.9384, allocations: 106.5 kB / 1.181 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.9385, allocations: 89.95 kB / 1.181 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9387, allocations: 358.8 kB / 1.182 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.9391, allocations: 162.2 kB / 1.182 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.9396, allocations: 281.9 kB / 1.182 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008081/0.9404, allocations: 430.1 kB / 1.183 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9404, allocations: 4 kB / 1.183 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001067/0.9415, allocations: 0.5141 MB / 1.183 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.9416, allocations: 40.05 kB / 1.183 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9416, allocations: 0 / 1.183 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.9416, allocations: 11.94 kB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.942, allocations: 91.81 kB / 1.183 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.942, allocations: 7.984 kB / 1.183 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.9425, allocations: 87.78 kB / 1.183 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.9425, allocations: 23.98 kB / 1.183 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004822/0.943, allocations: 268.9 kB / 1.184 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003843/0.9434, allocations: 257.8 kB / 1.184 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006228/0.944, allocations: 384.4 kB / 1.184 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.944, allocations: 3.938 kB / 1.184 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0008843/0.9449, allocations: 474.2 kB / 1.185 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.945, allocations: 41.69 kB / 1.185 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.945, allocations: 4 kB / 1.185 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.945, allocations: 4 kB / 1.185 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.9453, allocations: 80.27 kB / 1.185 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9453, allocations: 7.938 kB / 1.185 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.9457, allocations: 79.62 kB / 1.185 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.9457, allocations: 19.98 kB / 1.185 GB, free: 1.27 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,yFan.y,$PRE.yFan.y,retFanAirTra1.conP.con1.y,retFanAirTra.conP.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001882/0.9459, allocations: 216.1 kB / 1.185 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.946, allocations: 39.53 kB / 1.185 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.9461, allocations: 40.38 kB / 1.185 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.9461, allocations: 3.984 kB / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9461, allocations: 0 / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.9462, allocations: 120.5 kB / 1.185 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.9463, allocations: 15.98 kB / 1.185 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.9465, allocations: 27.97 kB / 1.185 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.9466, allocations: 27.91 kB / 1.185 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001052/0.9477, allocations: 458.3 kB / 1.186 GB, free: 312 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001276/0.949, allocations: 0.7091 MB / 1.187 GB, free: 15.58 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003642/0.9493, allocations: 159.9 kB / 1.187 GB, free: 15.42 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002911/0.9496, allocations: 275.2 kB / 1.187 GB, free: 15.16 MB / 0.92 GB Notification: Performance of Backend: time 6.91e-07/0.9497, allocations: 0 / 1.187 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.9512, allocations: 0.6684 MB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of SimCode: time 0.001624/0.9528, allocations: 1.232 MB / 1.189 GB, free: 13.18 MB / 0.92 GB Notification: Performance of Templates: time 0.01302/0.9659, allocations: 6.932 MB / 1.196 GB, free: 6.348 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches