Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.yRelDam|retFanPre.conP.y|retFanPre.u1SupFan|retFanPre1.dpDisSet|retFanPre1.yRelDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yRelDam|retFanPre2.conP.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.yRelDam|retFanPre.conP.y|retFanPre.u1SupFan|retFanPre1.dpDisSet|retFanPre1.yRelDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yRelDam|retFanPre2.conP.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001467/0.001467, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.384/1.384, 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 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.88 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8491, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure): time 0.004932/0.8541, allocations: 4.298 MB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.8579, allocations: 2.553 MB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.8586, allocations: 24.5 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.8591, allocations: 201.9 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.8595, allocations: 197.1 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.8611, allocations: 0.7547 MB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.8631, allocations: 1.778 MB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.8646, allocations: 0.9228 MB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.8653, allocations: 0.6067 MB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007092/0.8661, allocations: 0.6714 MB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.8664, allocations: 207.3 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.8667, allocations: 225.3 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.867, allocations: 389.8 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.8677, allocations: 0.7555 MB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.8707, allocations: 2.551 MB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8707, allocations: 4 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8707, allocations: 0.9688 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.546e-05/0.8708, allocations: 3.938 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003413/0.8742, allocations: 1.75 MB / 1.106 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8742, allocations: 9.297 kB / 1.106 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.8746, allocations: 167.5 kB / 1.106 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.8764, allocations: 0.9235 MB / 1.107 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.8765, allocations: 186.3 kB / 1.107 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.8767, allocations: 143.1 kB / 1.108 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.8791, allocations: 1.302 MB / 1.109 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.8791, allocations: 1.469 kB / 1.109 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.8792, allocations: 53.64 kB / 1.109 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.8793, allocations: 36.19 kB / 1.109 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.8813, allocations: 1.005 MB / 1.11 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007238/0.8886, allocations: 4.052 MB / 1.114 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.8902, allocations: 0.7464 MB / 1.115 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/0.891, allocations: 358.2 kB / 1.115 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.8911, allocations: 17.69 kB / 1.115 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009074/0.892, allocations: 464.1 kB / 1.115 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/0.892, allocations: 0 / 1.115 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002147/0.8942, allocations: 0.9491 MB / 1.116 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.8943, allocations: 218.4 kB / 1.116 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.8955, allocations: 0.9014 MB / 1.117 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.8956, allocations: 44.36 kB / 1.117 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.8961, allocations: 0.6431 MB / 1.118 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.8963, allocations: 284 kB / 1.118 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.8967, allocations: 237.8 kB / 1.119 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8968, allocations: 345 kB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.8975, allocations: 351.9 kB / 1.119 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009247/0.8985, allocations: 0.7098 MB / 1.12 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.9, allocations: 1.007 MB / 1.121 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.9001, allocations: 2.438 kB / 1.121 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002186/0.9023, allocations: 1.183 MB / 1.122 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.9023, allocations: 38.27 kB / 1.122 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.9023, allocations: 14.12 kB / 1.122 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.9024, allocations: 15.22 kB / 1.122 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.9032, allocations: 248.3 kB / 1.122 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/0.9033, allocations: 25.28 kB / 1.122 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.9041, allocations: 182.2 kB / 1.123 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.9042, allocations: 56.81 kB / 1.123 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008721/0.9051, allocations: 0.5184 MB / 1.123 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008494/0.906, allocations: 0.666 MB / 1.124 GB, free: 400 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001316/0.9073, allocations: 0.9393 MB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/0.9073, allocations: 2.219 kB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.001936/0.9092, allocations: 1.119 MB / 1.126 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.9093, allocations: 42.7 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.9093, allocations: 8.688 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.9093, allocations: 16.25 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.9101, allocations: 224.6 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.9101, allocations: 21.94 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.9109, allocations: 156.6 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.911, allocations: 50.34 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,retFanPre2.conP.con1.y,retFanPre1.conP.con1.y,retFanPre.conP.con1.y,yFan.y,$PRE.yFan.y,retFanPre2.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre1.movMea.mode,retFanPre.movMea.mode,$PRE.retFanPre.movMea.mode,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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.0002977/0.9113, allocations: 264.4 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.9115, allocations: 108.4 kB / 1.127 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.9133, allocations: 0.8326 MB / 1.127 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.9133, allocations: 9.422 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9133, allocations: 0.6094 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.9135, allocations: 198.8 kB / 1.128 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.9136, allocations: 21.3 kB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.9141, allocations: 50.83 kB / 1.128 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.9142, allocations: 58.58 kB / 1.128 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001836/0.9161, allocations: 0.8675 MB / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002297/0.9184, allocations: 1.351 MB / 1.13 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006754/0.9191, allocations: 358.6 kB / 1.13 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008558/0.9199, allocations: 0.5833 MB / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of Backend: time 6.71e-07/0.9199, allocations: 0 / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.9228, allocations: 1.335 MB / 1.132 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003871/0.9267, allocations: 2.353 MB / 1.134 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of Templates: time 0.03738/0.9641, allocations: 16.21 MB / 1.15 GB, free: 5.645 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches