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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006709/0.00671, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.001419/0.001419, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.89 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3917, allocations: 157.4 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.00247/0.3943, allocations: 1.182 MB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3956, allocations: 0.9949 MB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3957, allocations: 11.88 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.3959, allocations: 27.67 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.396, allocations: 31.66 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3963, allocations: 107.9 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.3966, allocations: 251.4 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.3968, allocations: 127.5 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.397, allocations: 83.66 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3971, allocations: 87.55 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.3971, allocations: 24 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.3972, allocations: 24 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.3972, allocations: 55.83 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.3973, allocations: 99.47 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.3976, allocations: 330.8 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3976, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3977, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3977, allocations: 4 kB / 1.211 GB, free: 6.152 MB / 0.9669 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.0007275/0.3984, allocations: 0.4952 MB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3985, allocations: 8.625 kB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.3985, allocations: 24.66 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.399, allocations: 289.1 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.399, allocations: 12.81 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.399, allocations: 20.38 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.3994, allocations: 226.3 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3995, allocations: 192 / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3995, allocations: 11.94 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3995, allocations: 7.938 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3998, allocations: 165 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.4009, allocations: 0.6933 MB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.4011, allocations: 98.52 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.4012, allocations: 44.84 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.4012, allocations: 3.984 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4013, allocations: 34.69 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 2.746e-06/0.4013, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0005063/0.4018, allocations: 185.4 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.4019, allocations: 51.41 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.4021, allocations: 215.2 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.4021, allocations: 29.7 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4022, allocations: 155.8 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.4023, allocations: 35.55 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.4023, allocations: 33.62 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4025, allocations: 334.8 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.4026, allocations: 43.97 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4028, allocations: 86.69 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.403, allocations: 145 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4031, allocations: 0 / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003504/0.4034, allocations: 187.5 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4034, allocations: 11.94 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4035, allocations: 0 / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4035, allocations: 4 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4036, allocations: 31.98 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4037, allocations: 3.984 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4038, allocations: 23.78 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4038, allocations: 4 kB / 1.215 GB, free: 2.219 MB / 0.9669 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 0.0001228/0.4039, allocations: 137.9 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.404, allocations: 19.75 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.4044, allocations: 162.8 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4044, allocations: 4 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4044, allocations: 0 / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4044, allocations: 3.984 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/0.4051, allocations: 0.5202 MB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4051, allocations: 0 / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.4052, allocations: 23.98 kB / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4053, allocations: 0 / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4053, allocations: 8 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4053, allocations: 4 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4053, allocations: 4.094 kB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.4057, allocations: 257.7 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.4057, allocations: 97.11 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4057, allocations: 4 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.4059, allocations: 23.91 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.4059, allocations: 8 kB / 1.216 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.406, allocations: 4 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001408/0.4061, allocations: 168.5 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.462e-06/0.4061, allocations: 0 / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002691/0.4064, allocations: 39.78 kB / 1.216 GB, free: 0.6289 MB / 0.9669 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 0.0001289/0.4065, allocations: 107.2 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.4069, allocations: 119.8 kB / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4069, allocations: 0 / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.4071, allocations: 56.41 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4074, allocations: 27.98 kB / 1.216 GB, free: 320 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.408, allocations: 340.9 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.4083, allocations: 0.732 MB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.4084, allocations: 29.52 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.4085, allocations: 19.44 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of SimCode: time 1.823e-06/0.4085, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.004905/0.4134, allocations: 1.855 MB / 1.219 GB, free: 13.36 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches