Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_latest_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_latest_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.001556/0.001556, allocations: 112.6 kB / 16.37 MB, free: 6 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.001691/0.001691, allocations: 196 kB / 17.31 MB, free: 5.613 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.493/2.493, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 64.44 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.363, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.04/1.403, allocations: 294.3 MB / 1.314 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03219/1.436, allocations: 23.05 MB / 1.337 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/1.44, allocations: 79.62 kB / 1.337 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005728/1.446, allocations: 1.794 MB / 1.338 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01615/1.462, allocations: 6.13 MB / 1.344 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008279/1.471, allocations: 2.887 MB / 1.347 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.482, allocations: 7.301 MB / 1.354 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005088/1.487, allocations: 2.981 MB / 1.357 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008028/1.495, allocations: 2.885 MB / 1.36 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005662/1.501, allocations: 2.71 MB / 1.363 GB, free: 4.871 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009999/1.502, allocations: 344 kB / 1.363 GB, free: 4.535 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/1.516, allocations: 5.978 MB / 1.369 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002677/1.519, allocations: 1.465 MB / 1.37 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003834/1.523, allocations: 1.906 MB / 1.372 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/1.538, allocations: 6.934 MB / 1.379 GB, free: 4.207 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.538, allocations: 0 / 1.379 GB, free: 4.207 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.374e-06/1.538, allocations: 0 / 1.379 GB, free: 4.207 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001129/1.538, allocations: 0 / 1.379 GB, free: 4.207 MB / 1.076 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.01101/1.549, allocations: 4.092 MB / 1.383 GB, free: 44 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.549, allocations: 12.03 kB / 1.383 GB, free: 32 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005597/1.555, allocations: 0.843 MB / 1.384 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/1.559, allocations: 1.857 MB / 1.386 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/1.559, allocations: 209.4 kB / 1.386 GB, free: 13.06 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000446/1.559, allocations: 283.9 kB / 1.386 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006006/1.565, allocations: 3.585 MB / 1.39 GB, free: 9.074 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/1.565, allocations: 7.938 kB / 1.39 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/1.566, allocations: 116 kB / 1.39 GB, free: 8.953 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/1.566, allocations: 149.3 kB / 1.39 GB, free: 8.805 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/1.571, allocations: 3.28 MB / 1.393 GB, free: 5.512 MB / 1.092 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.01782/1.589, allocations: 14.21 MB / 1.407 GB, free: 6.07 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/1.593, allocations: 2.481 MB / 1.409 GB, free: 3.516 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/1.595, allocations: 1.356 MB / 1.411 GB, free: 2.16 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/1.596, allocations: 1.378 MB / 1.412 GB, free: 496 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/1.598, allocations: 1.23 MB / 1.413 GB, free: 15.24 MB / 1.123 GB Notification: Performance of pre-optimization done (n=213): time 3.958e-06/1.598, allocations: 0 / 1.413 GB, free: 15.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=213): time 0.005918/1.604, allocations: 3.165 MB / 1.416 GB, free: 12.07 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/1.604, allocations: 77.34 kB / 1.416 GB, free: 11.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/1.606, allocations: 1.452 MB / 1.418 GB, free: 10.53 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.607, allocations: 65.7 kB / 1.418 GB, free: 10.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.608, allocations: 1.119 MB / 1.419 GB, free: 9.324 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007831/1.608, allocations: 0.7432 MB / 1.42 GB, free: 8.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005761/1.609, allocations: 355.5 kB / 1.42 GB, free: 8.215 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.609, allocations: 309.1 kB / 1.42 GB, free: 7.91 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/1.611, allocations: 0.9136 MB / 1.421 GB, free: 6.992 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.613, allocations: 1.255 MB / 1.422 GB, free: 5.617 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/1.616, allocations: 2.317 MB / 1.425 GB, free: 3.195 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.616, allocations: 0 / 1.425 GB, free: 3.195 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004526/1.621, allocations: 2.601 MB / 1.427 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/1.621, allocations: 37.7 kB / 1.427 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.621, allocations: 4 kB / 1.427 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/1.621, allocations: 20 kB / 1.427 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/1.623, allocations: 463.7 kB / 1.428 GB, free: 60 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/1.623, allocations: 23.94 kB / 1.428 GB, free: 36 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.625, allocations: 198 kB / 1.428 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.625, allocations: 75.98 kB / 1.428 GB, free: 15.76 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * 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.001363/1.626, allocations: 0.6846 MB / 1.429 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/1.627, allocations: 217.5 kB / 1.429 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/1.631, allocations: 2.511 MB / 1.431 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.631, allocations: 23.98 kB / 1.431 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.631, allocations: 4 kB / 1.431 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003443/1.635, allocations: 2.335 MB / 1.434 GB, free: 9.895 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00914/1.644, allocations: 5.604 MB / 1.439 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.644, allocations: 4 kB / 1.439 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/1.646, allocations: 479.7 kB / 1.44 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/1.646, allocations: 12 kB / 1.44 GB, free: 3.688 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/1.646, allocations: 51.98 kB / 1.44 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/1.646, allocations: 8 kB / 1.44 GB, free: 3.629 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/1.646, allocations: 4 kB / 1.44 GB, free: 3.625 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006186/1.652, allocations: 3.813 MB / 1.443 GB, free: 15.76 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.654, allocations: 0.5332 MB / 1.444 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/1.654, allocations: 44 kB / 1.444 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.656, allocations: 69.36 kB / 1.444 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/1.656, allocations: 157.6 kB / 1.444 GB, free: 14.94 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.656, allocations: 75.98 kB / 1.444 GB, free: 14.87 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001392/1.658, allocations: 0.9866 MB / 1.445 GB, free: 13.89 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.658, allocations: 0 / 1.445 GB, free: 13.89 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002168/1.66, allocations: 0.9351 MB / 1.446 GB, free: 12.95 MB / 1.154 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 (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007975/1.661, allocations: 373.4 kB / 1.446 GB, free: 12.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003891/1.665, allocations: 2.341 MB / 1.449 GB, free: 10.23 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.665, allocations: 4 kB / 1.449 GB, free: 10.23 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/1.666, allocations: 1.222 MB / 1.45 GB, free: 9.012 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005182/1.672, allocations: 1.284 MB / 1.451 GB, free: 7.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/1.681, allocations: 5.785 MB / 1.457 GB, free: 1.902 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/1.683, allocations: 1.971 MB / 1.459 GB, free: 15.89 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002853/1.686, allocations: 0.721 MB / 1.459 GB, free: 15.17 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007074/1.687, allocations: 191.4 kB / 1.46 GB, free: 14.98 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/1.687, allocations: 0 / 1.46 GB, free: 14.98 MB / 1.17 GB Notification: Performance of Templates: time 0.0777/1.764, allocations: 47.32 MB / 1.506 GB, free: 212 kB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches