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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007176/0.007176, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.001313/0.001313, allocations: 191.8 kB / 16.67 MB, free: 5.973 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.668/2.668, allocations: 472.6 MB / 0.7453 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29/1.291, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3578/1.649, allocations: 294.3 MB / 1.513 GB, free: 6.137 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03795/1.687, allocations: 23.06 MB / 1.536 GB, free: 15.02 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006173/1.693, allocations: 75.62 kB / 1.536 GB, free: 14.94 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00733/1.701, allocations: 1.795 MB / 1.537 GB, free: 13.14 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.0216/1.723, allocations: 6.122 MB / 1.543 GB, free: 6.988 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/1.734, allocations: 2.898 MB / 1.546 GB, free: 4.094 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01417/1.748, allocations: 7.311 MB / 1.553 GB, free: 12.76 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006474/1.754, allocations: 2.984 MB / 1.556 GB, free: 9.715 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/1.766, allocations: 2.867 MB / 1.559 GB, free: 6.859 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009504/1.776, allocations: 2.711 MB / 1.562 GB, free: 4.148 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003095/1.779, allocations: 340 kB / 1.562 GB, free: 3.816 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341/3.12, allocations: 5.978 MB / 1.568 GB, free: 15.54 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004892/3.125, allocations: 1.462 MB / 1.569 GB, free: 15.54 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01046/3.136, allocations: 1.909 MB / 1.571 GB, free: 15.54 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0287/3.165, allocations: 6.949 MB / 1.578 GB, free: 15.15 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/3.165, allocations: 3.234 kB / 1.578 GB, free: 15.15 MB / 1.279 GB Notification: Performance of FrontEnd: time 4.057e-06/3.165, allocations: 1.156 kB / 1.578 GB, free: 15.15 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000341/3.165, allocations: 1.594 kB / 1.578 GB, free: 15.15 MB / 1.279 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.02173/3.187, allocations: 4.198 MB / 1.582 GB, free: 13.39 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/3.187, allocations: 10.34 kB / 1.582 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007279/3.194, allocations: 0.8632 MB / 1.583 GB, free: 13.21 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/3.201, allocations: 1.869 MB / 1.585 GB, free: 12.69 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/3.201, allocations: 207.2 kB / 1.585 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/3.202, allocations: 278.5 kB / 1.585 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00803/3.21, allocations: 3.601 MB / 1.589 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/3.21, allocations: 5.719 kB / 1.589 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/3.211, allocations: 112.4 kB / 1.589 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/3.211, allocations: 148.5 kB / 1.589 GB, free: 12.31 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/3.218, allocations: 3.294 MB / 1.592 GB, free: 12.28 MB / 1.279 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.02189/3.239, allocations: 14.24 MB / 1.606 GB, free: 20.04 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/3.244, allocations: 2.478 MB / 1.608 GB, free: 19.62 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/3.246, allocations: 1.354 MB / 1.61 GB, free: 19.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/3.247, allocations: 1.377 MB / 1.611 GB, free: 18.09 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/3.249, allocations: 1.228 MB / 1.612 GB, free: 18.02 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 4.308e-06/3.249, allocations: 0 / 1.612 GB, free: 18.02 MB / 1.295 GB Notification: Performance of matching and sorting (n=213): time 0.006588/3.256, allocations: 3.173 MB / 1.615 GB, free: 17.82 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/3.256, allocations: 79.38 kB / 1.616 GB, free: 17.75 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/3.259, allocations: 1.451 MB / 1.617 GB, free: 17.58 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/3.26, allocations: 68.8 kB / 1.617 GB, free: 17.55 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/3.261, allocations: 1.145 MB / 1.618 GB, free: 17.06 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008822/3.262, allocations: 0.7705 MB / 1.619 GB, free: 16.55 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006118/3.262, allocations: 360.1 kB / 1.619 GB, free: 16.53 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001517/3.262, allocations: 307.3 kB / 1.62 GB, free: 16.23 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/3.264, allocations: 0.9117 MB / 1.62 GB, free: 16.22 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/3.266, allocations: 1.255 MB / 1.622 GB, free: 15.91 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/3.269, allocations: 2.321 MB / 1.624 GB, free: 15.58 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/3.269, allocations: 4.094 kB / 1.624 GB, free: 15.58 MB / 1.295 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004674/3.274, allocations: 2.609 MB / 1.626 GB, free: 15.36 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/3.274, allocations: 37.7 kB / 1.626 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/3.274, allocations: 7.625 kB / 1.626 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/3.274, allocations: 16.59 kB / 1.626 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/3.276, allocations: 465.1 kB / 1.627 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-05/3.276, allocations: 21.72 kB / 1.627 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/3.279, allocations: 189.6 kB / 1.627 GB, free: 15.23 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/3.279, allocations: 82.17 kB / 1.627 GB, free: 15.23 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.001811/3.281, allocations: 0.6936 MB / 1.628 GB, free: 15.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007968/3.282, allocations: 227.7 kB / 1.628 GB, free: 14.98 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/3.286, allocations: 2.514 MB / 1.631 GB, free: 14.87 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/3.286, allocations: 21.03 kB / 1.631 GB, free: 14.87 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/3.286, allocations: 0.9688 kB / 1.631 GB, free: 14.87 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003746/3.29, allocations: 2.328 MB / 1.633 GB, free: 14.48 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/3.301, allocations: 5.617 MB / 1.638 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/3.301, allocations: 3.812 kB / 1.638 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/3.303, allocations: 475 kB / 1.639 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.159e-05/3.303, allocations: 11.75 kB / 1.639 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/3.303, allocations: 58.58 kB / 1.639 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/3.303, allocations: 14.91 kB / 1.639 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/3.303, allocations: 2.25 kB / 1.639 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/3.309, allocations: 3.812 MB / 1.643 GB, free: 13.42 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/3.311, allocations: 0.5492 MB / 1.643 GB, free: 13.18 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/3.312, allocations: 43.44 kB / 1.643 GB, free: 13.18 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/3.313, allocations: 68.75 kB / 1.643 GB, free: 13.18 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/3.314, allocations: 150.8 kB / 1.643 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/3.314, allocations: 67.91 kB / 1.643 GB, free: 13.17 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00164/3.315, allocations: 0.9934 MB / 1.644 GB, free: 13.06 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.1e-07/3.315, allocations: 0 / 1.644 GB, free: 13.06 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003319/3.319, allocations: 0.9457 MB / 1.645 GB, free: 12.93 MB / 1.295 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.000961/3.32, allocations: 385.2 kB / 1.646 GB, free: 12.81 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004281/3.324, allocations: 2.34 MB / 1.648 GB, free: 12.71 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/3.324, allocations: 4.438 kB / 1.648 GB, free: 12.71 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/3.326, allocations: 1.224 MB / 1.649 GB, free: 12.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006842/3.333, allocations: 1.282 MB / 1.65 GB, free: 12.54 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/3.343, allocations: 5.868 MB / 1.656 GB, free: 10.21 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/3.345, allocations: 1.969 MB / 1.658 GB, free: 9.43 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0031/3.348, allocations: 0.7194 MB / 1.659 GB, free: 9.297 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/3.349, allocations: 198.2 kB / 1.659 GB, free: 9.293 MB / 1.295 GB Notification: Performance of SimCode: time 2.414e-06/3.349, allocations: 4 kB / 1.659 GB, free: 9.289 MB / 1.295 GB Notification: Performance of Templates: time 0.08271/3.432, allocations: 47.82 MB / 1.706 GB, free: 4.848 MB / 1.311 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