Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001445/0.001445, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.813/2.813, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 12 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.169, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3477/1.517, allocations: 268.8 MB / 1.217 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03484/1.551, allocations: 21.5 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/1.557, allocations: 63.62 kB / 1.238 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005321/1.562, allocations: 1.184 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.58, allocations: 4.459 MB / 1.244 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009942/1.59, allocations: 2.054 MB / 1.246 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.9805/2.57, allocations: 8.951 MB / 1.254 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006883/2.577, allocations: 2.251 MB / 1.256 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/2.588, allocations: 2.361 MB / 1.259 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/2.599, allocations: 2.604 MB / 1.261 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002008/2.601, allocations: 166.9 kB / 1.261 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/2.616, allocations: 3.134 MB / 1.265 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004862/2.621, allocations: 1.282 MB / 1.266 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004854/2.626, allocations: 0.6756 MB / 1.266 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01274/2.639, allocations: 4.655 MB / 1.271 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/2.639, allocations: 5.375 kB / 1.271 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.395e-06/2.639, allocations: 0 / 1.271 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000328/2.639, allocations: 0 / 1.271 GB, free: 15.48 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01867/2.658, allocations: 3.523 MB / 1.274 GB, free: 29.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/2.658, allocations: 9.406 kB / 1.274 GB, free: 29.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007719/2.666, allocations: 0.8456 MB / 1.275 GB, free: 29.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007221/2.673, allocations: 1.85 MB / 1.277 GB, free: 29.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/2.673, allocations: 219.3 kB / 1.277 GB, free: 29.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/2.675, allocations: 270.7 kB / 1.278 GB, free: 29.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/2.687, allocations: 3.591 MB / 1.281 GB, free: 28.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.678e-05/2.687, allocations: 9.75 kB / 1.281 GB, free: 28.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/2.687, allocations: 118 kB / 1.281 GB, free: 28.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/2.687, allocations: 143.2 kB / 1.281 GB, free: 28.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009585/2.697, allocations: 3.29 MB / 1.285 GB, free: 28.79 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/2.726, allocations: 14.17 MB / 1.298 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/2.731, allocations: 2.507 MB / 1.301 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/2.735, allocations: 1.361 MB / 1.302 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/2.737, allocations: 1.381 MB / 1.303 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003205/2.74, allocations: 1.24 MB / 1.305 GB, free: 18.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=216): time 8.165e-06/2.74, allocations: 2.906 kB / 1.305 GB, free: 18.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=216): time 0.008483/2.748, allocations: 3.208 MB / 1.308 GB, free: 18.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/2.748, allocations: 72.97 kB / 1.308 GB, free: 18.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/2.752, allocations: 1.44 MB / 1.309 GB, free: 18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/2.752, allocations: 67.64 kB / 1.309 GB, free: 17.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/2.754, allocations: 1.121 MB / 1.31 GB, free: 17.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/2.755, allocations: 0.7407 MB / 1.311 GB, free: 17.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/2.755, allocations: 44.16 kB / 1.311 GB, free: 17.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002461/2.755, allocations: 383.6 kB / 1.312 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/2.757, allocations: 0.9233 MB / 1.312 GB, free: 16.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/2.759, allocations: 1.277 MB / 1.314 GB, free: 16.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/2.761, allocations: 1.134 MB / 1.315 GB, free: 16.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/2.761, allocations: 6.25 kB / 1.315 GB, free: 16.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004671/2.765, allocations: 2.615 MB / 1.317 GB, free: 16.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/2.765, allocations: 44.39 kB / 1.317 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/2.765, allocations: 9.406 kB / 1.317 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/2.765, allocations: 15.69 kB / 1.317 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/2.767, allocations: 485.3 kB / 1.318 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.84e-05/2.767, allocations: 26.55 kB / 1.318 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/2.771, allocations: 400.9 kB / 1.318 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/2.771, allocations: 79.98 kB / 1.318 GB, free: 15.92 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002154/2.774, allocations: 0.6823 MB / 1.319 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009255/2.775, allocations: 218.1 kB / 1.319 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/2.78, allocations: 2.566 MB / 1.322 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/2.78, allocations: 20.91 kB / 1.322 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/2.78, allocations: 0 / 1.322 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003529/2.783, allocations: 2.358 MB / 1.324 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/2.795, allocations: 5.649 MB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/2.795, allocations: 4.125 kB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/2.797, allocations: 492 kB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-05/2.797, allocations: 9.812 kB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/2.798, allocations: 55.52 kB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/2.798, allocations: 13.25 kB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.798, allocations: 2.75 kB / 1.33 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006797/2.804, allocations: 3.834 MB / 1.334 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/2.807, allocations: 0.5479 MB / 1.334 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008047/2.808, allocations: 49.75 kB / 1.335 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/2.811, allocations: 247.6 kB / 1.335 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/2.811, allocations: 151.9 kB / 1.335 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/2.811, allocations: 77.28 kB / 1.335 GB, free: 13.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002071/2.813, allocations: 0.9742 MB / 1.336 GB, free: 13.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/2.813, allocations: 0 / 1.336 GB, free: 13.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004507/2.818, allocations: 0.9474 MB / 1.337 GB, free: 13.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/2.819, allocations: 411.5 kB / 1.337 GB, free: 13.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004385/2.823, allocations: 2.352 MB / 1.34 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.823, allocations: 0.5 kB / 1.34 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/2.826, allocations: 1.239 MB / 1.341 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/2.837, allocations: 1.249 MB / 1.342 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/2.853, allocations: 7.093 MB / 1.349 GB, free: 9.789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/2.855, allocations: 1.969 MB / 1.351 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00419/2.859, allocations: 0.7372 MB / 1.352 GB, free: 8.863 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/2.861, allocations: 201.7 kB / 1.352 GB, free: 8.855 MB / 1.014 GB Notification: Performance of SimCode: time 1.442e-06/2.861, allocations: 0 / 1.352 GB, free: 8.855 MB / 1.014 GB Notification: Performance of Templates: time 0.09498/2.956, allocations: 44.52 MB / 1.395 GB, free: 3.754 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches