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.001895/0.001895, allocations: 111.7 kB / 16.41 MB, free: 6.016 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.001873/0.001873, allocations: 186.6 kB / 17.34 MB, free: 5.629 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.561/1.561, allocations: 222.9 MB / 241 MB, free: 15.13 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.827/2.827, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.88 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.979, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3695/1.348, allocations: 294.3 MB / 1.455 GB, free: 12.51 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04166/1.39, allocations: 23.06 MB / 1.477 GB, free: 5.402 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006357/1.397, allocations: 75.62 kB / 1.477 GB, free: 5.328 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006898/1.404, allocations: 1.876 MB / 1.479 GB, free: 3.441 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02001/1.424, allocations: 6.318 MB / 1.485 GB, free: 13.1 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.009759/1.434, allocations: 2.92 MB / 1.488 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01642/1.45, allocations: 7.317 MB / 1.495 GB, free: 2.836 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008552/1.459, allocations: 2.976 MB / 1.498 GB, free: 15.8 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/1.469, allocations: 2.935 MB / 1.501 GB, free: 12.88 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007473/1.476, allocations: 2.723 MB / 1.504 GB, free: 10.16 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001931/1.478, allocations: 340 kB / 1.504 GB, free: 9.828 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/1.494, allocations: 6.017 MB / 1.51 GB, free: 3.797 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0026/1.496, allocations: 1.465 MB / 1.511 GB, free: 2.328 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003645/1.5, allocations: 1.906 MB / 1.513 GB, free: 424 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01586/1.516, allocations: 6.951 MB / 1.52 GB, free: 9.441 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.516, allocations: 0 / 1.52 GB, free: 9.441 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.144e-06/1.516, allocations: 0 / 1.52 GB, free: 9.441 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001716/1.516, allocations: 4 kB / 1.52 GB, free: 9.438 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.01169/1.528, allocations: 4.201 MB / 1.524 GB, free: 5.16 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.528, allocations: 8.922 kB / 1.524 GB, free: 5.152 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/1.534, allocations: 0.8604 MB / 1.525 GB, free: 4.289 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/1.538, allocations: 1.878 MB / 1.527 GB, free: 2.355 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/1.538, allocations: 209.4 kB / 1.527 GB, free: 2.148 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000605/1.539, allocations: 275.9 kB / 1.527 GB, free: 1.879 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006908/1.546, allocations: 3.597 MB / 1.531 GB, free: 14.16 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/1.546, allocations: 4 kB / 1.531 GB, free: 14.15 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00033/1.546, allocations: 115.9 kB / 1.531 GB, free: 14.04 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/1.546, allocations: 149.2 kB / 1.531 GB, free: 13.89 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006292/1.553, allocations: 3.296 MB / 1.534 GB, free: 10.58 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.02024/1.573, allocations: 14.23 MB / 1.548 GB, free: 11.13 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/1.577, allocations: 2.491 MB / 1.551 GB, free: 8.566 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/1.579, allocations: 1.349 MB / 1.552 GB, free: 7.215 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.581, allocations: 1.382 MB / 1.553 GB, free: 5.539 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/1.583, allocations: 1.226 MB / 1.554 GB, free: 4.301 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 4.318e-06/1.583, allocations: 0 / 1.554 GB, free: 4.301 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.006331/1.589, allocations: 3.177 MB / 1.558 GB, free: 1.121 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/1.589, allocations: 81.41 kB / 1.558 GB, free: 1.031 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7564/2.346, allocations: 1.452 MB / 1.559 GB, free: 385.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004472/2.346, allocations: 65.8 kB / 1.559 GB, free: 385 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/2.347, allocations: 1.131 MB / 1.56 GB, free: 384.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009516/2.348, allocations: 0.7731 MB / 1.561 GB, free: 384.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007033/2.349, allocations: 359.5 kB / 1.561 GB, free: 384.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/2.349, allocations: 302.7 kB / 1.562 GB, free: 383.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/2.351, allocations: 0.9144 MB / 1.563 GB, free: 383.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/2.353, allocations: 1.251 MB / 1.564 GB, free: 382.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/2.356, allocations: 2.329 MB / 1.566 GB, free: 381.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/2.356, allocations: 0 / 1.566 GB, free: 381.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004117/2.361, allocations: 2.609 MB / 1.569 GB, free: 380.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/2.361, allocations: 43.06 kB / 1.569 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/2.361, allocations: 7.812 kB / 1.569 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/2.361, allocations: 23.19 kB / 1.569 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/2.363, allocations: 461.9 kB / 1.569 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-05/2.363, allocations: 17.81 kB / 1.569 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/2.365, allocations: 200.8 kB / 1.569 GB, free: 380.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/2.365, allocations: 78.28 kB / 1.569 GB, free: 380.5 MB / 1.279 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.001137/2.366, allocations: 0.6795 MB / 1.57 GB, free: 380.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/2.366, allocations: 233.6 kB / 1.57 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/2.37, allocations: 2.517 MB / 1.573 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/2.37, allocations: 20.88 kB / 1.573 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/2.37, allocations: 9.516 kB / 1.573 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003068/2.373, allocations: 2.331 MB / 1.575 GB, free: 377.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/2.385, allocations: 5.606 MB / 1.58 GB, free: 375.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/2.385, allocations: 3.562 kB / 1.58 GB, free: 375.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/2.388, allocations: 477.2 kB / 1.581 GB, free: 375.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.548e-05/2.388, allocations: 11.28 kB / 1.581 GB, free: 375.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/2.388, allocations: 57.52 kB / 1.581 GB, free: 375.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.706e-05/2.388, allocations: 10.41 kB / 1.581 GB, free: 375.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.388, allocations: 3.969 kB / 1.581 GB, free: 375.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007984/2.396, allocations: 3.813 MB / 1.585 GB, free: 372 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/2.398, allocations: 0.5507 MB / 1.585 GB, free: 371.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/2.399, allocations: 51.94 kB / 1.585 GB, free: 371.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/2.401, allocations: 58.45 kB / 1.585 GB, free: 371.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/2.401, allocations: 152.4 kB / 1.586 GB, free: 371.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/2.401, allocations: 70 kB / 1.586 GB, free: 371.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001734/2.403, allocations: 0.9874 MB / 1.587 GB, free: 370.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.6e-07/2.403, allocations: 0 / 1.587 GB, free: 370.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003332/2.407, allocations: 0.944 MB / 1.587 GB, free: 369.5 MB / 1.279 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.001056/2.408, allocations: 386 kB / 1.588 GB, free: 369.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004652/2.412, allocations: 2.347 MB / 1.59 GB, free: 366.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.412, allocations: 3.969 kB / 1.59 GB, free: 366.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/2.415, allocations: 1.221 MB / 1.591 GB, free: 365.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008071/2.423, allocations: 1.281 MB / 1.593 GB, free: 364.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009037/2.432, allocations: 5.877 MB / 1.598 GB, free: 358.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/2.433, allocations: 1.971 MB / 1.6 GB, free: 356.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002442/2.436, allocations: 0.7288 MB / 1.601 GB, free: 356.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/2.436, allocations: 199.4 kB / 1.601 GB, free: 355.9 MB / 1.279 GB Notification: Performance of SimCode: time 6.21e-07/2.436, allocations: 0 / 1.601 GB, free: 355.9 MB / 1.279 GB Notification: Performance of Templates: time 0.08866/2.525, allocations: 48.05 MB / 1.648 GB, free: 308.5 MB / 1.279 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 -s cvode -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