Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 80.81 kB / 19.94 MB, free: 4.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 177 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.924/0.924, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.341/2.341, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.523e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001498/0.001513, allocations: 1.088 MB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.002498, allocations: 1.073 MB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.002594, allocations: 7.938 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.002713, allocations: 31.59 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.002765, allocations: 27.67 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.002935, allocations: 103.9 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.003137, allocations: 259 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.003284, allocations: 90.8 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.003399, allocations: 123.8 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.003467, allocations: 63.8 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.003499, allocations: 24 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.003519, allocations: 23.94 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.003553, allocations: 51.83 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.003598, allocations: 63.81 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003737, allocations: 151.4 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003738, allocations: 0 / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003739, allocations: 0 / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.003742, allocations: 0 / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0004094/0.004152, allocations: 420.4 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.004182, allocations: 12.62 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.004225, allocations: 32.91 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.004398, allocations: 177.4 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.004412, allocations: 16.88 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.004435, allocations: 16.38 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.004649, allocations: 268.9 kB / 0.8427 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.004658, allocations: 192 / 0.8427 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.004671, allocations: 12.38 kB / 0.8427 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.004677, allocations: 4.375 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.004744, allocations: 56.97 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.00522, allocations: 463.8 kB / 0.8432 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.005296, allocations: 58.53 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.005319, allocations: 12.86 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.005332, allocations: 4 kB / 0.8433 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.005352, allocations: 38.5 kB / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 7.91e-07/0.005352, allocations: 0 / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001334/0.005486, allocations: 77.78 kB / 0.8434 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.005511, allocations: 51.41 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.005843, allocations: 180.4 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005854, allocations: 29.7 kB / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.005911, allocations: 164 kB / 0.8438 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.005929, allocations: 47.61 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.005963, allocations: 25.72 kB / 0.8439 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.006036, allocations: 338.7 kB / 0.8442 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.006055, allocations: 8 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.006096, allocations: 61.03 kB / 0.8442 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.006165, allocations: 73.05 kB / 0.8443 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006168, allocations: 4 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.881e-05/0.006266, allocations: 104.9 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.006277, allocations: 10.81 kB / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006281, allocations: 3.938 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006293, allocations: 4 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.00638, allocations: 27.98 kB / 0.8445 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.006384, allocations: 4 kB / 0.8445 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.006424, allocations: 15.89 kB / 0.8445 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.006432, allocations: 8.094 kB / 0.8445 GB, free: 7.949 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.734e-05/0.00649, allocations: 121.8 kB / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.00651, allocations: 15.98 kB / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.006615, allocations: 91.05 kB / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006617, allocations: 0 / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006618, allocations: 0 / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006622, allocations: 3.984 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.006877, allocations: 305.1 kB / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006878, allocations: 96 / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.006924, allocations: 31.92 kB / 0.845 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006926, allocations: 4 kB / 0.845 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.006931, allocations: 0 / 0.845 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.006934, allocations: 4 kB / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.006936, allocations: 3.938 kB / 0.845 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.00704, allocations: 194 kB / 0.8452 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.007054, allocations: 15.91 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.007065, allocations: 4 kB / 0.8452 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.00712, allocations: 15.98 kB / 0.8453 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.007148, allocations: 15.92 kB / 0.8453 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.007152, allocations: 0 / 0.8453 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.007185, allocations: 45.66 kB / 0.8453 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007185, allocations: 0 / 0.8453 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00015/0.007335, allocations: 43.84 kB / 0.8454 GB, free: 6.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 7.103e-05/0.007406, allocations: 88.34 kB / 0.8454 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.007493, allocations: 69.17 kB / 0.8455 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.007496, allocations: 4.062 kB / 0.8455 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.007528, allocations: 41.12 kB / 0.8456 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.007701, allocations: 47.58 kB / 0.8456 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.008046, allocations: 329.5 kB / 0.8459 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.008086, allocations: 80.17 kB / 0.846 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.208e-05/0.008138, allocations: 21.48 kB / 0.846 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.008221, allocations: 83.34 kB / 0.8461 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.008221, allocations: 0 / 0.8461 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.003323/0.01154, allocations: 1.811 MB / 0.8479 GB, free: 4.434 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.952943527605385]