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.001013/0.001012, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.00139, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.699/1.699, allocations: 223.3 MB / 241 MB, free: 5.336 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.571/2.571, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8915, allocations: 142.4 MB / 0.9557 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3377/1.229, allocations: 288.1 MB / 1.237 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8506/2.08, allocations: 22.98 MB / 1.259 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004794/2.085, allocations: 63.94 kB / 1.26 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006049/2.091, allocations: 1.556 MB / 1.261 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/2.11, allocations: 5.768 MB / 1.267 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008969/2.119, allocations: 2.637 MB / 1.269 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01764/2.136, allocations: 10.73 MB / 1.28 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005641/2.142, allocations: 2.439 MB / 1.282 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009322/2.151, allocations: 2.425 MB / 1.285 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007288/2.159, allocations: 2.704 MB / 1.287 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/2.16, allocations: 166.5 kB / 1.287 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/2.177, allocations: 6.871 MB / 1.294 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/2.18, allocations: 1.274 MB / 1.295 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005565/2.186, allocations: 1.709 MB / 1.297 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/2.197, allocations: 5.056 MB / 1.302 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/2.197, allocations: 0 / 1.302 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.606e-06/2.197, allocations: 0 / 1.302 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001754/2.198, allocations: 0 / 1.302 GB, free: 1.766 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.01161/2.209, allocations: 3.484 MB / 1.305 GB, free: 16.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/2.209, allocations: 11.66 kB / 1.305 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006362/2.216, allocations: 0.8457 MB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/2.22, allocations: 1.791 MB / 1.308 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/2.221, allocations: 211.9 kB / 1.308 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006789/2.221, allocations: 276.3 kB / 1.308 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/2.228, allocations: 3.603 MB / 1.312 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/2.228, allocations: 9.75 kB / 1.312 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002838/2.229, allocations: 108.6 kB / 1.312 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/2.229, allocations: 152.8 kB / 1.312 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/2.236, allocations: 3.295 MB / 1.315 GB, free: 15.03 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.02038/2.256, allocations: 14.17 MB / 1.329 GB, free: 6.656 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/2.26, allocations: 2.503 MB / 1.332 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/2.262, allocations: 1.356 MB / 1.333 GB, free: 5.781 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/2.263, allocations: 1.381 MB / 1.334 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/2.265, allocations: 1.232 MB / 1.335 GB, free: 3.898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 7.304e-06/2.265, allocations: 0 / 1.335 GB, free: 3.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.006082/2.272, allocations: 3.189 MB / 1.339 GB, free: 3.359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/2.272, allocations: 76.53 kB / 1.339 GB, free: 3.293 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/2.274, allocations: 1.457 MB / 1.34 GB, free: 2.887 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/2.274, allocations: 70.61 kB / 1.34 GB, free: 2.852 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/2.275, allocations: 1.114 MB / 1.341 GB, free: 2.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/2.276, allocations: 0.7339 MB / 1.342 GB, free: 1.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/2.276, allocations: 168 kB / 1.342 GB, free: 1.691 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001152/2.276, allocations: 304.4 kB / 1.342 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/2.278, allocations: 0.917 MB / 1.343 GB, free: 1.254 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/2.28, allocations: 1.254 MB / 1.345 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/2.283, allocations: 2.342 MB / 1.347 GB, free: 248 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/2.283, allocations: 3.344 kB / 1.347 GB, free: 248 kB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00475/2.288, allocations: 2.61 MB / 1.349 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/2.288, allocations: 32.02 kB / 1.349 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/2.288, allocations: 9.156 kB / 1.349 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.85e-05/2.288, allocations: 18.61 kB / 1.349 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/2.29, allocations: 482.5 kB / 1.35 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/2.29, allocations: 23.77 kB / 1.35 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/2.294, allocations: 400.4 kB / 1.35 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/2.294, allocations: 70.97 kB / 1.35 GB, free: 15.49 MB / 1.029 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.00174/2.296, allocations: 0.685 MB / 1.351 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006199/2.296, allocations: 220.7 kB / 1.351 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/2.301, allocations: 2.544 MB / 1.354 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/2.301, allocations: 25.56 kB / 1.354 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/2.301, allocations: 3.562 kB / 1.354 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003402/2.304, allocations: 2.343 MB / 1.356 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/2.314, allocations: 5.613 MB / 1.362 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/2.315, allocations: 3.625 kB / 1.362 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/2.317, allocations: 489.4 kB / 1.362 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/2.317, allocations: 9.719 kB / 1.362 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/2.317, allocations: 55.08 kB / 1.362 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/2.317, allocations: 11.16 kB / 1.362 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/2.317, allocations: 7.234 kB / 1.362 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006332/2.323, allocations: 3.812 MB / 1.366 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/2.325, allocations: 0.5386 MB / 1.366 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/2.326, allocations: 44.73 kB / 1.366 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/2.328, allocations: 243.7 kB / 1.367 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/2.328, allocations: 154.3 kB / 1.367 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/2.328, allocations: 72.25 kB / 1.367 GB, free: 11.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001514/2.33, allocations: 0.9906 MB / 1.368 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/2.33, allocations: 0 / 1.368 GB, free: 10.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002718/2.333, allocations: 0.9366 MB / 1.369 GB, free: 10.65 MB / 1.029 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.0009293/2.334, allocations: 383.8 kB / 1.369 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004404/2.338, allocations: 2.348 MB / 1.371 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/2.338, allocations: 0 / 1.371 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/2.34, allocations: 1.225 MB / 1.373 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007615/2.348, allocations: 1.231 MB / 1.374 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/2.36, allocations: 7.457 MB / 1.381 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/2.362, allocations: 1.978 MB / 1.383 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/2.363, allocations: 211.8 kB / 1.383 GB, free: 14.82 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/2.363, allocations: 0 / 1.383 GB, free: 14.82 MB / 1.045 GB Notification: Performance of Templates: time 0.07733/2.44, allocations: 41.2 MB / 1.423 GB, free: 6.441 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches