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.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.001797/0.001797, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001394/0.001394, allocations: 160.7 kB / 23.02 MB, free: 4.941 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.91/2.91, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003499/0.003499, allocations: 71.88 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8528, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3248/1.178, allocations: 262.3 MB / 1.443 GB, free: 15.13 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03259/1.21, allocations: 21.5 MB / 1.464 GB, free: 9.574 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/1.213, allocations: 99.25 kB / 1.464 GB, free: 9.477 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.004707/1.218, allocations: 1.709 MB / 1.466 GB, free: 7.758 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.0161/1.234, allocations: 6.464 MB / 1.472 GB, free: 1.27 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.008148/1.242, allocations: 2.974 MB / 1.475 GB, free: 14.29 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.01053/1.253, allocations: 7.417 MB / 1.482 GB, free: 6.855 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/1.257, allocations: 2.157 MB / 1.484 GB, free: 4.641 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008148/1.265, allocations: 3.302 MB / 1.487 GB, free: 1.355 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005908/1.271, allocations: 2.741 MB / 1.49 GB, free: 14.61 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/1.272, allocations: 348 kB / 1.49 GB, free: 14.27 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/1.284, allocations: 4.943 MB / 1.495 GB, free: 9.316 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.002376/1.286, allocations: 1.504 MB / 1.497 GB, free: 7.809 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.003311/1.289, allocations: 1.619 MB / 1.498 GB, free: 6.184 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/1.302, allocations: 6.857 MB / 1.505 GB, free: 15.3 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.302, allocations: 0 / 1.505 GB, free: 15.3 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.663e-06/1.302, allocations: 0 / 1.505 GB, free: 15.3 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0001016/1.303, allocations: 0 / 1.505 GB, free: 15.3 MB / 1.357 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.01098/1.314, allocations: 4.154 MB / 1.509 GB, free: 11.09 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.314, allocations: 8.031 kB / 1.509 GB, free: 11.08 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008912/1.322, allocations: 1.247 MB / 1.51 GB, free: 9.832 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/1.327, allocations: 1.822 MB / 1.512 GB, free: 7.961 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.327, allocations: 205.4 kB / 1.512 GB, free: 7.758 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006361/1.328, allocations: 276 kB / 1.512 GB, free: 7.488 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008011/1.336, allocations: 4.114 MB / 1.516 GB, free: 3.168 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.265e-05/1.336, allocations: 11.89 kB / 1.516 GB, free: 3.156 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/1.336, allocations: 116 kB / 1.517 GB, free: 3.043 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.336, allocations: 145.3 kB / 1.517 GB, free: 2.898 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/1.344, allocations: 3.569 MB / 1.52 GB, free: 15.31 MB / 1.373 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.01786/1.362, allocations: 8.987 MB / 1.529 GB, free: 6.164 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005755/1.368, allocations: 2.382 MB / 1.531 GB, free: 3.789 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002923/1.371, allocations: 1.399 MB / 1.533 GB, free: 2.387 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/1.371, allocations: 53.97 kB / 1.533 GB, free: 2.332 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003283/1.374, allocations: 1.731 MB / 1.534 GB, free: 0.5117 MB / 1.373 GB Notification: Performance of pre-optimization done (n=213): time 5.411e-06/1.374, allocations: 0 / 1.534 GB, free: 0.5117 MB / 1.373 GB Notification: Performance of matching and sorting (n=213): time 0.008623/1.383, allocations: 3.594 MB / 1.538 GB, free: 12.91 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.383, allocations: 77.39 kB / 1.538 GB, free: 12.82 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/1.385, allocations: 1.256 MB / 1.539 GB, free: 11.56 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/1.385, allocations: 73.7 kB / 1.539 GB, free: 11.48 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.386, allocations: 1.148 MB / 1.54 GB, free: 10.32 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009054/1.387, allocations: 0.7668 MB / 1.541 GB, free: 9.551 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007379/1.388, allocations: 371.5 kB / 1.542 GB, free: 9.18 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.388, allocations: 305.1 kB / 1.542 GB, free: 8.879 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.391, allocations: 1.095 MB / 1.543 GB, free: 7.773 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/1.394, allocations: 1.558 MB / 1.544 GB, free: 6.059 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/1.399, allocations: 2.583 MB / 1.547 GB, free: 3.367 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.399, allocations: 0 / 1.547 GB, free: 3.367 MB / 1.389 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006413/1.405, allocations: 2.913 MB / 1.55 GB, free: 444 kB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/1.405, allocations: 33.7 kB / 1.55 GB, free: 404 kB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.405, allocations: 8 kB / 1.55 GB, free: 396 kB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/1.405, allocations: 16 kB / 1.55 GB, free: 380 kB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/1.408, allocations: 0.4994 MB / 1.55 GB, free: 15.87 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.65e-05/1.408, allocations: 35.84 kB / 1.55 GB, free: 15.84 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.411, allocations: 202.7 kB / 1.551 GB, free: 15.64 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/1.411, allocations: 79.97 kB / 1.551 GB, free: 15.56 MB / 1.404 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.001387/1.412, allocations: 0.6885 MB / 1.551 GB, free: 14.86 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/1.413, allocations: 214.7 kB / 1.551 GB, free: 14.65 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00608/1.419, allocations: 2.79 MB / 1.554 GB, free: 11.84 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/1.419, allocations: 20 kB / 1.554 GB, free: 11.82 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.419, allocations: 0 / 1.554 GB, free: 11.82 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005294/1.424, allocations: 2.635 MB / 1.557 GB, free: 9.117 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/1.436, allocations: 5.292 MB / 1.562 GB, free: 3.746 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.436, allocations: 4 kB / 1.562 GB, free: 3.742 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.439, allocations: 0.5111 MB / 1.562 GB, free: 3.23 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/1.439, allocations: 12 kB / 1.562 GB, free: 3.219 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/1.439, allocations: 55.95 kB / 1.563 GB, free: 3.164 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/1.439, allocations: 12 kB / 1.563 GB, free: 3.152 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.439, allocations: 4 kB / 1.563 GB, free: 3.148 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008823/1.448, allocations: 4.302 MB / 1.567 GB, free: 14.8 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.449, allocations: 490.1 kB / 1.567 GB, free: 14.32 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/1.449, allocations: 47.98 kB / 1.567 GB, free: 14.27 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/1.452, allocations: 99.91 kB / 1.567 GB, free: 14.18 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.452, allocations: 157.6 kB / 1.568 GB, free: 14.02 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.452, allocations: 71.97 kB / 1.568 GB, free: 13.95 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001397/1.454, allocations: 0.8414 MB / 1.568 GB, free: 13.11 MB / 1.42 GB Notification: Performance of sort global known variables: time 8e-08/1.454, allocations: 0 / 1.568 GB, free: 13.11 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002521/1.456, allocations: 0.9784 MB / 1.569 GB, free: 12.13 MB / 1.42 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.0006467/1.457, allocations: 347.5 kB / 1.57 GB, free: 11.78 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.005492/1.462, allocations: 2.569 MB / 1.572 GB, free: 9.195 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.462, allocations: 4 kB / 1.572 GB, free: 9.191 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.002769/1.465, allocations: 1.301 MB / 1.573 GB, free: 7.891 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/1.47, allocations: 1.138 MB / 1.575 GB, free: 6.777 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.481, allocations: 6.051 MB / 1.58 GB, free: 0.6523 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/1.483, allocations: 1.414 MB / 1.582 GB, free: 15.2 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002823/1.486, allocations: 0.7038 MB / 1.583 GB, free: 14.49 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007928/1.487, allocations: 196.4 kB / 1.583 GB, free: 14.3 MB / 1.436 GB Notification: Performance of SimCode: time 6.92e-07/1.487, allocations: 0 / 1.583 GB, free: 14.3 MB / 1.436 GB Notification: Performance of Templates: time 0.08324/1.57, allocations: 47.98 MB / 1.63 GB, free: 15.21 MB / 1.482 GB " [Timeout remaining time 298] 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 -s ida -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/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: 11.005919454037212]