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.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.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.01247/0.01247, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.002084/0.002084, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.66/2.66, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.131/1.478, allocations: 294.3 MB / 1.495 GB, free: 276 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03325/1.512, allocations: 23.05 MB / 1.518 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004626/1.516, allocations: 79.62 kB / 1.518 GB, free: 9.082 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006152/1.522, allocations: 1.791 MB / 1.519 GB, free: 7.281 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01777/1.54, allocations: 6.128 MB / 1.525 GB, free: 1.129 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009092/1.549, allocations: 2.896 MB / 1.528 GB, free: 14.24 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01194/1.561, allocations: 7.315 MB / 1.535 GB, free: 6.902 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005503/1.567, allocations: 2.989 MB / 1.538 GB, free: 3.875 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00815/1.575, allocations: 2.901 MB / 1.541 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005675/1.581, allocations: 2.713 MB / 1.544 GB, free: 14.28 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001172/1.582, allocations: 340 kB / 1.544 GB, free: 13.95 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/1.595, allocations: 5.986 MB / 1.55 GB, free: 7.949 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002415/1.597, allocations: 1.461 MB / 1.551 GB, free: 6.484 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003998/1.601, allocations: 1.902 MB / 1.553 GB, free: 4.574 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01741/1.619, allocations: 6.938 MB / 1.56 GB, free: 13.62 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.619, allocations: 0 / 1.56 GB, free: 13.62 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.275e-06/1.619, allocations: 8 kB / 1.56 GB, free: 13.61 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001786/1.619, allocations: 0 / 1.56 GB, free: 13.61 MB / 1.248 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.01249/1.631, allocations: 4.081 MB / 1.564 GB, free: 9.457 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.632, allocations: 12.02 kB / 1.564 GB, free: 9.445 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/1.638, allocations: 0.8507 MB / 1.565 GB, free: 8.59 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/1.642, allocations: 1.861 MB / 1.567 GB, free: 6.672 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/1.642, allocations: 205.4 kB / 1.567 GB, free: 6.469 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/1.643, allocations: 276 kB / 1.567 GB, free: 6.199 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0064/1.649, allocations: 3.601 MB / 1.571 GB, free: 2.473 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/1.649, allocations: 7.906 kB / 1.571 GB, free: 2.465 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/1.649, allocations: 108 kB / 1.571 GB, free: 2.359 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/1.649, allocations: 157.2 kB / 1.571 GB, free: 2.203 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/1.655, allocations: 3.284 MB / 1.574 GB, free: 14.91 MB / 1.264 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.01785/1.673, allocations: 14.2 MB / 1.588 GB, free: 15.48 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.677, allocations: 2.485 MB / 1.59 GB, free: 12.92 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/1.679, allocations: 1.352 MB / 1.592 GB, free: 11.57 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/1.68, allocations: 1.375 MB / 1.593 GB, free: 9.895 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/1.682, allocations: 1.222 MB / 1.594 GB, free: 8.664 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 4.789e-06/1.682, allocations: 0 / 1.594 GB, free: 8.664 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.005839/1.688, allocations: 3.168 MB / 1.597 GB, free: 5.492 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/1.688, allocations: 81.39 kB / 1.597 GB, free: 5.398 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/1.69, allocations: 1.456 MB / 1.599 GB, free: 3.938 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/1.69, allocations: 65.7 kB / 1.599 GB, free: 3.867 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.691, allocations: 1.119 MB / 1.6 GB, free: 2.734 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008572/1.692, allocations: 0.7315 MB / 1.601 GB, free: 1.992 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006293/1.693, allocations: 363.5 kB / 1.601 GB, free: 1.629 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.693, allocations: 301.1 kB / 1.601 GB, free: 1.332 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.695, allocations: 0.9136 MB / 1.602 GB, free: 424 kB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/1.697, allocations: 1.251 MB / 1.604 GB, free: 15.04 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/1.7, allocations: 2.325 MB / 1.606 GB, free: 12.61 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.7, allocations: 0 / 1.606 GB, free: 12.61 MB / 1.295 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004829/1.705, allocations: 2.605 MB / 1.608 GB, free: 9.984 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/1.705, allocations: 37.7 kB / 1.608 GB, free: 9.941 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.705, allocations: 8 kB / 1.608 GB, free: 9.934 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/1.705, allocations: 16 kB / 1.608 GB, free: 9.918 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/1.707, allocations: 467.3 kB / 1.609 GB, free: 9.461 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.36e-05/1.707, allocations: 21.69 kB / 1.609 GB, free: 9.441 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.71, allocations: 193.9 kB / 1.609 GB, free: 9.25 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.71, allocations: 79.98 kB / 1.609 GB, free: 9.172 MB / 1.295 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.001463/1.711, allocations: 0.6846 MB / 1.61 GB, free: 8.477 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/1.712, allocations: 213.5 kB / 1.61 GB, free: 8.266 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/1.716, allocations: 2.522 MB / 1.612 GB, free: 5.727 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/1.716, allocations: 23.98 kB / 1.612 GB, free: 5.703 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.716, allocations: 4.062 kB / 1.612 GB, free: 5.699 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003386/1.72, allocations: 2.331 MB / 1.615 GB, free: 3.301 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/1.729, allocations: 5.608 MB / 1.62 GB, free: 13.58 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.729, allocations: 4 kB / 1.62 GB, free: 13.58 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.731, allocations: 475.7 kB / 1.621 GB, free: 13.11 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/1.731, allocations: 8 kB / 1.621 GB, free: 13.11 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/1.732, allocations: 51.98 kB / 1.621 GB, free: 13.05 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/1.732, allocations: 12 kB / 1.621 GB, free: 13.04 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.732, allocations: 3.938 kB / 1.621 GB, free: 13.04 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/1.737, allocations: 3.809 MB / 1.624 GB, free: 9.184 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.739, allocations: 0.5371 MB / 1.625 GB, free: 8.625 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/1.739, allocations: 44 kB / 1.625 GB, free: 8.582 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.741, allocations: 63.95 kB / 1.625 GB, free: 8.52 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/1.742, allocations: 149.7 kB / 1.625 GB, free: 8.371 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.742, allocations: 71.97 kB / 1.625 GB, free: 8.301 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001406/1.743, allocations: 0.9866 MB / 1.626 GB, free: 7.32 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.3e-07/1.743, allocations: 0 / 1.626 GB, free: 7.32 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002617/1.746, allocations: 0.9351 MB / 1.627 GB, free: 6.383 MB / 1.311 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.0008579/1.747, allocations: 374.3 kB / 1.628 GB, free: 6.016 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.751, allocations: 2.344 MB / 1.63 GB, free: 3.66 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.751, allocations: 0 / 1.63 GB, free: 3.66 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/1.753, allocations: 1.227 MB / 1.631 GB, free: 2.434 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006444/1.759, allocations: 1.291 MB / 1.632 GB, free: 1.164 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/1.769, allocations: 5.777 MB / 1.638 GB, free: 11.32 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.77, allocations: 1.967 MB / 1.64 GB, free: 9.32 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002847/1.773, allocations: 0.7327 MB / 1.641 GB, free: 8.586 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/1.774, allocations: 195.4 kB / 1.641 GB, free: 8.395 MB / 1.326 GB Notification: Performance of SimCode: time 1.353e-06/1.774, allocations: 4 kB / 1.641 GB, free: 8.391 MB / 1.326 GB Notification: Performance of Templates: time 0.08135/1.855, allocations: 47.8 MB / 1.687 GB, free: 9.098 MB / 1.373 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches