Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001251/0.001251, allocations: 101 kB / 16.27 MB, free: 5.969 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.001243/0.001243, allocations: 194 kB / 17.2 MB, free: 5.594 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 69.11 kB / 0.8699 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3758, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.017/1.393, allocations: 294.3 MB / 1.305 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03295/1.426, allocations: 23.04 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004639/1.431, allocations: 75.62 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005857/1.437, allocations: 1.794 MB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01821/1.455, allocations: 6.115 MB / 1.336 GB, free: 3.895 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009092/1.464, allocations: 2.883 MB / 1.338 GB, free: 1.016 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.475, allocations: 7.296 MB / 1.346 GB, free: 9.695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005912/1.481, allocations: 2.983 MB / 1.348 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008118/1.489, allocations: 2.864 MB / 1.351 GB, free: 3.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005586/1.495, allocations: 2.717 MB / 1.354 GB, free: 1.105 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001616/1.496, allocations: 347.9 kB / 1.354 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/1.511, allocations: 5.974 MB / 1.36 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002849/1.513, allocations: 1.473 MB / 1.362 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005106/1.519, allocations: 1.898 MB / 1.363 GB, free: 7.395 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01651/1.535, allocations: 6.884 MB / 1.37 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.535, allocations: 0 / 1.37 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.739e-06/1.535, allocations: 0 / 1.37 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002259/1.535, allocations: 3.938 kB / 1.37 GB, free: 500 kB / 1.061 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.0143/1.55, allocations: 4.092 MB / 1.374 GB, free: 12.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.55, allocations: 8.625 kB / 1.374 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/1.557, allocations: 0.8469 MB / 1.375 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/1.561, allocations: 1.79 MB / 1.377 GB, free: 9.617 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/1.562, allocations: 205.4 kB / 1.377 GB, free: 9.414 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/1.563, allocations: 279.9 kB / 1.377 GB, free: 9.141 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009184/1.572, allocations: 3.599 MB / 1.381 GB, free: 5.418 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/1.572, allocations: 7.938 kB / 1.381 GB, free: 5.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006807/1.573, allocations: 116 kB / 1.381 GB, free: 5.297 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/1.573, allocations: 145.3 kB / 1.381 GB, free: 5.152 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00763/1.581, allocations: 3.284 MB / 1.384 GB, free: 1.855 MB / 1.076 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.02163/1.602, allocations: 14.3 MB / 1.398 GB, free: 2.324 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/1.607, allocations: 2.493 MB / 1.401 GB, free: 15.77 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/1.609, allocations: 1.348 MB / 1.402 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.611, allocations: 1.375 MB / 1.403 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002454/1.613, allocations: 1.23 MB / 1.404 GB, free: 11.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=213): time 6.202e-06/1.613, allocations: 0 / 1.404 GB, free: 11.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=213): time 0.00662/1.62, allocations: 3.161 MB / 1.407 GB, free: 8.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.62, allocations: 77.34 kB / 1.408 GB, free: 8.25 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.623, allocations: 1.46 MB / 1.409 GB, free: 6.785 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/1.623, allocations: 61.7 kB / 1.409 GB, free: 6.719 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/1.624, allocations: 1.119 MB / 1.41 GB, free: 5.586 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/1.625, allocations: 0.7354 MB / 1.411 GB, free: 4.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007398/1.626, allocations: 363.4 kB / 1.411 GB, free: 4.477 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.626, allocations: 305.1 kB / 1.411 GB, free: 4.176 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.628, allocations: 0.9136 MB / 1.412 GB, free: 3.258 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/1.63, allocations: 1.252 MB / 1.414 GB, free: 1.887 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/1.634, allocations: 2.325 MB / 1.416 GB, free: 15.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/1.634, allocations: 4 kB / 1.416 GB, free: 15.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005141/1.639, allocations: 2.593 MB / 1.418 GB, free: 12.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/1.639, allocations: 37.7 kB / 1.418 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/1.639, allocations: 8.75 kB / 1.418 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.005e-05/1.639, allocations: 16 kB / 1.418 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.641, allocations: 471.3 kB / 1.419 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.432e-05/1.641, allocations: 23.92 kB / 1.419 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/1.644, allocations: 193.9 kB / 1.419 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/1.644, allocations: 83.98 kB / 1.419 GB, free: 12.01 MB / 1.123 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.00152/1.646, allocations: 0.6846 MB / 1.42 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007678/1.646, allocations: 213.5 kB / 1.42 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/1.652, allocations: 2.515 MB / 1.423 GB, free: 8.574 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.652, allocations: 20 kB / 1.423 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.652, allocations: 0 / 1.423 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003747/1.655, allocations: 2.335 MB / 1.425 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.666, allocations: 5.607 MB / 1.43 GB, free: 448 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.666, allocations: 4 kB / 1.43 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.669, allocations: 479.7 kB / 1.431 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.784e-05/1.669, allocations: 8 kB / 1.431 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/1.669, allocations: 51.98 kB / 1.431 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/1.669, allocations: 15.98 kB / 1.431 GB, free: 15.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.669, allocations: 0 / 1.431 GB, free: 15.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006371/1.675, allocations: 3.813 MB / 1.435 GB, free: 12.03 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.677, allocations: 0.541 MB / 1.435 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/1.677, allocations: 47.98 kB / 1.435 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.679, allocations: 61 kB / 1.435 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/1.68, allocations: 153.7 kB / 1.435 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.68, allocations: 75.97 kB / 1.435 GB, free: 11.14 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001839/1.682, allocations: 0.9866 MB / 1.436 GB, free: 10.16 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.3e-07/1.682, allocations: 0 / 1.436 GB, free: 10.16 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003314/1.685, allocations: 0.9351 MB / 1.437 GB, free: 9.223 MB / 1.139 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.001214/1.686, allocations: 376.6 kB / 1.438 GB, free: 8.852 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009353/1.696, allocations: 3.879 MB / 1.441 GB, free: 4.957 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.696, allocations: 4 kB / 1.441 GB, free: 4.953 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.698, allocations: 1.211 MB / 1.443 GB, free: 3.746 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007636/1.705, allocations: 1.292 MB / 1.444 GB, free: 2.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.717, allocations: 6.032 MB / 1.45 GB, free: 12.38 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/1.719, allocations: 1.979 MB / 1.452 GB, free: 10.36 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.721, allocations: 211.4 kB / 1.452 GB, free: 10.15 MB / 1.154 GB Notification: Performance of SimCode: time 1.182e-06/1.721, allocations: 0 / 1.452 GB, free: 10.15 MB / 1.154 GB Notification: Performance of Templates: time 0.06834/1.789, allocations: 41.54 MB / 1.492 GB, free: 0.8242 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches