Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 81.27 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 162.9 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.735/1.735, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.116/3.116, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.193e-05, allocations: 5.656 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.474/1.474, allocations: 261.5 MB / 1.237 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.05613/1.53, allocations: 21.31 MB / 1.258 GB, free: 18.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007184/1.538, allocations: 100.6 kB / 1.258 GB, free: 18.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00914/1.547, allocations: 1.727 MB / 1.259 GB, free: 18.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.03264/1.579, allocations: 6.539 MB / 1.266 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01544/1.595, allocations: 3.019 MB / 1.269 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01698/1.612, allocations: 7.531 MB / 1.276 GB, free: 9.996 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00643/1.618, allocations: 2.15 MB / 1.278 GB, free: 8.996 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/1.635, allocations: 4.184 MB / 1.282 GB, free: 7.316 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006426/1.642, allocations: 2.526 MB / 1.285 GB, free: 6.516 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001987/1.644, allocations: 342.8 kB / 1.285 GB, free: 6.516 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/1.658, allocations: 4.984 MB / 1.29 GB, free: 4.676 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00311/1.661, allocations: 1.585 MB / 1.292 GB, free: 3.957 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006126/1.668, allocations: 1.386 MB / 1.293 GB, free: 3.395 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02688/1.694, allocations: 7.033 MB / 1.3 GB, free: 1.039 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.694, allocations: 0 / 1.3 GB, free: 1.039 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.964e-06/1.694, allocations: 0 / 1.3 GB, free: 1.039 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002648/1.695, allocations: 0 / 1.3 GB, free: 1.039 MB / 1.076 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.01425/1.709, allocations: 4.095 MB / 1.304 GB, free: 14.55 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.709, allocations: 11.62 kB / 1.304 GB, free: 14.55 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006525/1.715, allocations: 0.8613 MB / 1.305 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/1.721, allocations: 1.785 MB / 1.306 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/1.721, allocations: 209.2 kB / 1.307 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00063/1.721, allocations: 282.2 kB / 1.307 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00696/1.728, allocations: 3.917 MB / 1.311 GB, free: 10.16 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.365e-05/1.729, allocations: 9.406 kB / 1.311 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/1.729, allocations: 116.7 kB / 1.311 GB, free: 10.06 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/1.729, allocations: 143.9 kB / 1.311 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005859/1.735, allocations: 3.277 MB / 1.314 GB, free: 8.398 MB / 1.092 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.0157/1.751, allocations: 8.617 MB / 1.323 GB, free: 2.207 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/1.754, allocations: 2.063 MB / 1.325 GB, free: 1.129 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/1.756, allocations: 1.247 MB / 1.326 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/1.757, allocations: 182.3 kB / 1.326 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/1.759, allocations: 1.551 MB / 1.327 GB, free: 15.33 MB / 1.107 GB Notification: Performance of pre-optimization done (n=213): time 4.639e-06/1.759, allocations: 0 / 1.327 GB, free: 15.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=213): time 0.006113/1.765, allocations: 3.168 MB / 1.331 GB, free: 13.23 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.765, allocations: 73.41 kB / 1.331 GB, free: 13.15 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/1.767, allocations: 1.239 MB / 1.332 GB, free: 11.9 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001866/1.767, allocations: 69.64 kB / 1.332 GB, free: 11.83 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.769, allocations: 1.136 MB / 1.333 GB, free: 10.68 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009163/1.769, allocations: 0.7629 MB / 1.334 GB, free: 9.918 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006255/1.77, allocations: 355.6 kB / 1.334 GB, free: 9.562 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.77, allocations: 301.1 kB / 1.334 GB, free: 9.266 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.772, allocations: 0.9426 MB / 1.335 GB, free: 8.312 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/1.774, allocations: 1.415 MB / 1.337 GB, free: 6.738 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/1.778, allocations: 2.313 MB / 1.339 GB, free: 4.316 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.778, allocations: 4 kB / 1.339 GB, free: 4.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005127/1.783, allocations: 2.631 MB / 1.341 GB, free: 1.66 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/1.783, allocations: 33.7 kB / 1.342 GB, free: 1.621 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.783, allocations: 8 kB / 1.342 GB, free: 1.613 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.581e-05/1.783, allocations: 16 kB / 1.342 GB, free: 1.598 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.785, allocations: 471.8 kB / 1.342 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.173e-05/1.785, allocations: 19.94 kB / 1.342 GB, free: 1.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.787, allocations: 170.8 kB / 1.342 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/1.788, allocations: 79.98 kB / 1.342 GB, free: 0.8711 MB / 1.107 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.001721/1.789, allocations: 0.6807 MB / 1.343 GB, free: 184 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007815/1.79, allocations: 210.7 kB / 1.343 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.795, allocations: 2.521 MB / 1.346 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.795, allocations: 20 kB / 1.346 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.795, allocations: 0 / 1.346 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003868/1.799, allocations: 2.333 MB / 1.348 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.809, allocations: 4.82 MB / 1.353 GB, free: 6.129 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.809, allocations: 4 kB / 1.353 GB, free: 6.125 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/1.812, allocations: 471.3 kB / 1.353 GB, free: 5.664 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.812, allocations: 12.12 kB / 1.353 GB, free: 5.652 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/1.812, allocations: 59.92 kB / 1.353 GB, free: 5.594 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/1.812, allocations: 12 kB / 1.353 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.812, allocations: 0 / 1.353 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/1.818, allocations: 3.782 MB / 1.357 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.82, allocations: 462.2 kB / 1.357 GB, free: 1.297 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/1.82, allocations: 55.86 kB / 1.357 GB, free: 1.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.822, allocations: 63.91 kB / 1.357 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/1.822, allocations: 161.6 kB / 1.358 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.822, allocations: 67.92 kB / 1.358 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001408/1.824, allocations: 0.8371 MB / 1.358 GB, free: 128 kB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.824, allocations: 0 / 1.358 GB, free: 128 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.002961/1.827, allocations: 0.9588 MB / 1.359 GB, free: 15.16 MB / 1.139 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.0007372/1.827, allocations: 370.5 kB / 1.36 GB, free: 14.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004221/1.832, allocations: 2.268 MB / 1.362 GB, free: 12.51 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.832, allocations: 4 kB / 1.362 GB, free: 12.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/1.834, allocations: 1.141 MB / 1.363 GB, free: 11.37 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/1.84, allocations: 1.135 MB / 1.364 GB, free: 10.26 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.851, allocations: 5.475 MB / 1.369 GB, free: 4.715 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/1.853, allocations: 1.414 MB / 1.371 GB, free: 3.258 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002914/1.856, allocations: 0.6919 MB / 1.372 GB, free: 2.562 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007737/1.857, allocations: 184.5 kB / 1.372 GB, free: 2.383 MB / 1.139 GB Notification: Performance of SimCode: time 9.72e-07/1.857, allocations: 0 / 1.372 GB, free: 2.383 MB / 1.139 GB Notification: Performance of Templates: time 0.08777/1.944, allocations: 44.03 MB / 1.415 GB, free: 7.309 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.690940868109465]