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.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.001586/0.001586, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001715/0.001715, allocations: 187 kB / 22.22 MB, free: 5.105 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.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.185/3.185, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.001922/0.001922, allocations: 68.67 kB / 1.138 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.311, allocations: 173.6 MB / 1.307 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3378/0.6488, allocations: 296.7 MB / 1.597 GB, free: 7.848 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.8044/1.453, allocations: 23.21 MB / 1.62 GB, free: 4.5 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004323/1.458, allocations: 101.1 kB / 1.62 GB, free: 4.5 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005477/1.463, allocations: 1.891 MB / 1.622 GB, free: 4.5 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01753/1.481, allocations: 6.442 MB / 1.628 GB, free: 4.34 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009155/1.49, allocations: 3 MB / 1.631 GB, free: 4.258 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01198/1.502, allocations: 7.427 MB / 1.638 GB, free: 4.246 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004744/1.506, allocations: 2.169 MB / 1.64 GB, free: 4.09 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009801/1.516, allocations: 3.248 MB / 1.643 GB, free: 4.082 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/1.523, allocations: 2.847 MB / 1.646 GB, free: 4.078 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001515/1.524, allocations: 343.3 kB / 1.647 GB, free: 4.078 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0142/1.538, allocations: 6.424 MB / 1.653 GB, free: 4.02 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002887/1.541, allocations: 1.493 MB / 1.654 GB, free: 4.02 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005475/1.547, allocations: 1.91 MB / 1.656 GB, free: 3.898 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.0171/1.564, allocations: 6.966 MB / 1.663 GB, free: 3.121 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.564, allocations: 0 / 1.663 GB, free: 3.121 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.783e-06/1.564, allocations: 4.969 kB / 1.663 GB, free: 3.117 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001554/1.564, allocations: 0 / 1.663 GB, free: 3.117 MB / 1.295 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.01179/1.576, allocations: 4.12 MB / 1.667 GB, free: 1.434 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.576, allocations: 9.109 kB / 1.667 GB, free: 1.434 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/1.582, allocations: 0.8579 MB / 1.668 GB, free: 1.25 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/1.588, allocations: 1.782 MB / 1.67 GB, free: 16.77 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/1.588, allocations: 211.4 kB / 1.67 GB, free: 16.77 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/1.589, allocations: 283.6 kB / 1.67 GB, free: 16.76 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/1.596, allocations: 3.597 MB / 1.674 GB, free: 16.4 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.687e-05/1.596, allocations: 6.188 kB / 1.674 GB, free: 16.4 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/1.596, allocations: 116.5 kB / 1.674 GB, free: 16.4 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/1.596, allocations: 145 kB / 1.674 GB, free: 16.39 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005665/1.602, allocations: 3.286 MB / 1.677 GB, free: 16.36 MB / 1.311 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.01916/1.621, allocations: 14.1 MB / 1.691 GB, free: 8.105 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/1.624, allocations: 2.075 MB / 1.693 GB, free: 8.043 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/1.626, allocations: 1.247 MB / 1.694 GB, free: 8.012 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007414/1.627, allocations: 183.3 kB / 1.694 GB, free: 8.012 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.629, allocations: 1.225 MB / 1.695 GB, free: 7.938 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.541e-06/1.629, allocations: 0 / 1.695 GB, free: 7.938 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005923/1.635, allocations: 3.184 MB / 1.699 GB, free: 7.734 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.635, allocations: 73.47 kB / 1.699 GB, free: 7.672 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/1.637, allocations: 1.454 MB / 1.7 GB, free: 7.504 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002835/1.637, allocations: 68.11 kB / 1.7 GB, free: 7.473 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.639, allocations: 1.145 MB / 1.701 GB, free: 6.984 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009031/1.64, allocations: 0.7667 MB / 1.702 GB, free: 6.477 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/1.64, allocations: 364.1 kB / 1.702 GB, free: 6.449 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.64, allocations: 302 kB / 1.703 GB, free: 6.152 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/1.642, allocations: 0.9128 MB / 1.703 GB, free: 6.145 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/1.644, allocations: 1.255 MB / 1.705 GB, free: 5.828 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/1.647, allocations: 2.321 MB / 1.707 GB, free: 5.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.647, allocations: 3.781 kB / 1.707 GB, free: 5.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004472/1.652, allocations: 2.606 MB / 1.709 GB, free: 5.277 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/1.652, allocations: 42.92 kB / 1.71 GB, free: 5.246 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.652, allocations: 6.406 kB / 1.71 GB, free: 5.246 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/1.652, allocations: 22.22 kB / 1.71 GB, free: 5.242 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/1.654, allocations: 464.4 kB / 1.71 GB, free: 5.242 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.654, allocations: 22.25 kB / 1.71 GB, free: 5.242 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/1.656, allocations: 198.2 kB / 1.71 GB, free: 5.137 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.656, allocations: 83.97 kB / 1.71 GB, free: 5.133 MB / 1.311 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.001375/1.658, allocations: 0.6894 MB / 1.711 GB, free: 5.008 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/1.658, allocations: 222.5 kB / 1.711 GB, free: 4.895 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/1.662, allocations: 2.526 MB / 1.714 GB, free: 4.773 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.662, allocations: 23 kB / 1.714 GB, free: 4.77 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.662, allocations: 0.9688 kB / 1.714 GB, free: 4.77 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003214/1.666, allocations: 2.328 MB / 1.716 GB, free: 4.379 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009258/1.675, allocations: 5.506 MB / 1.721 GB, free: 3.527 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.675, allocations: 3.5 kB / 1.721 GB, free: 3.527 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/1.677, allocations: 478.3 kB / 1.722 GB, free: 3.512 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/1.677, allocations: 10.31 kB / 1.722 GB, free: 3.512 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/1.677, allocations: 52.05 kB / 1.722 GB, free: 3.484 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/1.677, allocations: 12.44 kB / 1.722 GB, free: 3.484 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.677, allocations: 14.69 kB / 1.722 GB, free: 3.477 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/1.684, allocations: 3.819 MB / 1.726 GB, free: 1.82 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.685, allocations: 480.7 kB / 1.726 GB, free: 1.566 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/1.686, allocations: 45.52 kB / 1.726 GB, free: 1.535 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.687, allocations: 63.86 kB / 1.726 GB, free: 1.508 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/1.688, allocations: 156.2 kB / 1.726 GB, free: 1.484 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.688, allocations: 72.55 kB / 1.726 GB, free: 1.469 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001469/1.689, allocations: 0.99 MB / 1.727 GB, free: 1.102 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.689, allocations: 0.7188 kB / 1.727 GB, free: 1.102 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002545/1.692, allocations: 0.9444 MB / 1.728 GB, free: 0.8945 MB / 1.311 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.0008715/1.693, allocations: 378 kB / 1.729 GB, free: 0.7266 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004055/1.697, allocations: 2.23 MB / 1.731 GB, free: 15.97 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.697, allocations: 0 / 1.731 GB, free: 15.97 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.699, allocations: 1.153 MB / 1.732 GB, free: 15.59 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006569/1.705, allocations: 1.292 MB / 1.733 GB, free: 14.89 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.717, allocations: 5.857 MB / 1.739 GB, free: 11.38 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.718, allocations: 1.969 MB / 1.741 GB, free: 10.06 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002949/1.721, allocations: 0.7249 MB / 1.742 GB, free: 9.336 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/1.722, allocations: 195.4 kB / 1.742 GB, free: 9.145 MB / 1.326 GB Notification: Performance of SimCode: time 1.713e-06/1.722, allocations: 0 / 1.742 GB, free: 9.145 MB / 1.326 GB Notification: Performance of Templates: time 0.08902/1.811, allocations: 49.52 MB / 1.79 GB, free: 8.434 MB / 1.373 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: 11.87500902544707]