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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 112.5 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.199/3.199, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713/1.714, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.516/2.231, allocations: 294.4 MB / 1.55 GB, free: 1.336 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0625/2.293, allocations: 23.06 MB / 1.573 GB, free: 10.21 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005279/2.298, allocations: 79.62 kB / 1.573 GB, free: 10.14 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006761/2.305, allocations: 1.783 MB / 1.574 GB, free: 8.344 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02588/2.331, allocations: 6.118 MB / 1.58 GB, free: 2.199 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01371/2.345, allocations: 2.902 MB / 1.583 GB, free: 15.3 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01723/2.362, allocations: 7.288 MB / 1.59 GB, free: 7.988 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009127/2.371, allocations: 2.98 MB / 1.593 GB, free: 4.949 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/2.384, allocations: 3.114 MB / 1.596 GB, free: 1.848 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008825/2.393, allocations: 2.674 MB / 1.599 GB, free: 15.18 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00204/2.395, allocations: 340 kB / 1.599 GB, free: 14.84 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02106/2.416, allocations: 5.97 MB / 1.605 GB, free: 8.859 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004241/2.42, allocations: 1.465 MB / 1.606 GB, free: 7.391 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006978/2.427, allocations: 1.906 MB / 1.608 GB, free: 5.477 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02482/2.452, allocations: 6.955 MB / 1.615 GB, free: 14.5 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/2.452, allocations: 0 / 1.615 GB, free: 14.5 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.943e-06/2.452, allocations: 4 kB / 1.615 GB, free: 14.5 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002385/2.452, allocations: 0 / 1.615 GB, free: 14.5 MB / 1.311 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.01945/2.472, allocations: 4.202 MB / 1.619 GB, free: 10.21 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/2.472, allocations: 8.031 kB / 1.619 GB, free: 10.21 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/2.482, allocations: 0.8604 MB / 1.62 GB, free: 9.344 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/2.488, allocations: 1.87 MB / 1.622 GB, free: 7.418 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/2.489, allocations: 213.4 kB / 1.622 GB, free: 7.207 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008461/2.489, allocations: 279.9 kB / 1.622 GB, free: 6.934 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009574/2.499, allocations: 3.598 MB / 1.626 GB, free: 3.211 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/2.499, allocations: 3.938 kB / 1.626 GB, free: 3.207 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004199/2.5, allocations: 116 kB / 1.626 GB, free: 3.094 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002423/2.5, allocations: 149.2 kB / 1.626 GB, free: 2.945 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/2.507, allocations: 3.296 MB / 1.629 GB, free: 15.64 MB / 1.326 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.02034/2.527, allocations: 14.23 MB / 1.643 GB, free: 188 kB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/2.531, allocations: 2.481 MB / 1.646 GB, free: 13.63 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/2.533, allocations: 1.36 MB / 1.647 GB, free: 12.27 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/2.535, allocations: 1.375 MB / 1.648 GB, free: 10.6 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/2.537, allocations: 1.226 MB / 1.65 GB, free: 9.363 MB / 1.342 GB Notification: Performance of pre-optimization done (n=213): time 4.559e-06/2.537, allocations: 0 / 1.65 GB, free: 9.363 MB / 1.342 GB Notification: Performance of matching and sorting (n=213): time 0.006525/2.544, allocations: 3.169 MB / 1.653 GB, free: 6.191 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/2.544, allocations: 89.33 kB / 1.653 GB, free: 6.094 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/2.546, allocations: 1.452 MB / 1.654 GB, free: 4.637 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.000209/2.546, allocations: 69.7 kB / 1.654 GB, free: 4.562 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/2.548, allocations: 1.145 MB / 1.655 GB, free: 3.406 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008979/2.549, allocations: 0.7668 MB / 1.656 GB, free: 2.633 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/2.549, allocations: 359.6 kB / 1.656 GB, free: 2.273 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001518/2.549, allocations: 305.1 kB / 1.657 GB, free: 1.973 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/2.551, allocations: 0.9175 MB / 1.658 GB, free: 1.051 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/2.553, allocations: 1.251 MB / 1.659 GB, free: 15.68 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/2.557, allocations: 2.317 MB / 1.661 GB, free: 13.25 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/2.557, allocations: 0 / 1.661 GB, free: 13.25 MB / 1.357 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005091/2.562, allocations: 2.614 MB / 1.664 GB, free: 10.62 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/2.562, allocations: 33.7 kB / 1.664 GB, free: 10.58 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/2.562, allocations: 8 kB / 1.664 GB, free: 10.57 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/2.562, allocations: 19.94 kB / 1.664 GB, free: 10.55 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/2.564, allocations: 467.3 kB / 1.664 GB, free: 10.1 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/2.564, allocations: 28.05 kB / 1.664 GB, free: 10.07 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/2.566, allocations: 202.5 kB / 1.664 GB, free: 9.871 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/2.566, allocations: 79.98 kB / 1.664 GB, free: 9.793 MB / 1.357 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/2.568, allocations: 0.6807 MB / 1.665 GB, free: 9.102 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/2.568, allocations: 222.6 kB / 1.665 GB, free: 8.883 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/2.573, allocations: 2.519 MB / 1.668 GB, free: 6.352 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/2.573, allocations: 20 kB / 1.668 GB, free: 6.332 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/2.573, allocations: 3.938 kB / 1.668 GB, free: 6.328 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004116/2.578, allocations: 2.339 MB / 1.67 GB, free: 3.922 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/2.589, allocations: 5.604 MB / 1.676 GB, free: 14.2 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/2.589, allocations: 4 kB / 1.676 GB, free: 14.2 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/2.591, allocations: 479.7 kB / 1.676 GB, free: 13.73 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/2.591, allocations: 8 kB / 1.676 GB, free: 13.72 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/2.591, allocations: 55.98 kB / 1.676 GB, free: 13.67 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/2.591, allocations: 12 kB / 1.676 GB, free: 13.66 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/2.591, allocations: 0 / 1.676 GB, free: 13.66 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/2.598, allocations: 3.811 MB / 1.68 GB, free: 9.797 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/2.599, allocations: 0.5578 MB / 1.68 GB, free: 9.219 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/2.599, allocations: 44 kB / 1.68 GB, free: 9.176 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/2.601, allocations: 65.64 kB / 1.68 GB, free: 9.113 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/2.601, allocations: 157.7 kB / 1.681 GB, free: 8.961 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/2.601, allocations: 75.91 kB / 1.681 GB, free: 8.887 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001536/2.603, allocations: 0.9866 MB / 1.682 GB, free: 7.906 MB / 1.373 GB Notification: Performance of sort global known variables: time 1.91e-07/2.603, allocations: 0 / 1.682 GB, free: 7.906 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.002418/2.605, allocations: 0.9357 MB / 1.683 GB, free: 6.969 MB / 1.373 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.0008462/2.606, allocations: 381.3 kB / 1.683 GB, free: 6.598 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.004322/2.61, allocations: 2.352 MB / 1.685 GB, free: 4.23 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/2.61, allocations: 3.938 kB / 1.685 GB, free: 4.227 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/2.612, allocations: 1.216 MB / 1.686 GB, free: 3.016 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/2.618, allocations: 1.293 MB / 1.688 GB, free: 1.75 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/2.629, allocations: 6.042 MB / 1.694 GB, free: 11.63 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/2.631, allocations: 1.98 MB / 1.696 GB, free: 9.617 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/2.632, allocations: 211.4 kB / 1.696 GB, free: 9.41 MB / 1.389 GB Notification: Performance of SimCode: time 1.122e-06/2.632, allocations: 8 kB / 1.696 GB, free: 9.402 MB / 1.389 GB Notification: Performance of Templates: time 0.07385/2.706, allocations: 41.79 MB / 1.737 GB, free: 15.8 MB / 1.436 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.445010107010603]