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.001307/0.001307, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001787/0.001787, allocations: 213.4 kB / 23 MB, free: 4.945 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002082/0.002082, allocations: 69.8 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2823, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3026/0.5849, allocations: 262.2 MB / 1.583 GB, free: 9.773 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03105/0.6159, allocations: 21.36 MB / 1.604 GB, free: 4.363 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.6186, allocations: 99.25 kB / 1.604 GB, free: 4.266 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/0.623, allocations: 1.709 MB / 1.606 GB, free: 2.547 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.6667/1.29, allocations: 6.384 MB / 1.612 GB, free: 6.258 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007347/1.297, allocations: 2.975 MB / 1.615 GB, free: 6.258 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.009344/1.306, allocations: 7.413 MB / 1.622 GB, free: 6.246 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004583/1.311, allocations: 2.159 MB / 1.624 GB, free: 6.098 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008583/1.319, allocations: 3.267 MB / 1.627 GB, free: 6.098 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005903/1.325, allocations: 2.855 MB / 1.63 GB, free: 6.098 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001279/1.327, allocations: 344.5 kB / 1.631 GB, free: 6.098 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/1.338, allocations: 4.951 MB / 1.635 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002557/1.34, allocations: 1.499 MB / 1.637 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004427/1.345, allocations: 1.603 MB / 1.638 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/1.358, allocations: 6.789 MB / 1.645 GB, free: 5.586 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.358, allocations: 0 / 1.645 GB, free: 5.586 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.723e-06/1.358, allocations: 0 / 1.645 GB, free: 5.586 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000158/1.358, allocations: 2.469 kB / 1.645 GB, free: 5.586 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.01138/1.369, allocations: 4.119 MB / 1.649 GB, free: 19.9 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/1.369, allocations: 10.62 kB / 1.649 GB, free: 19.9 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/1.375, allocations: 0.859 MB / 1.65 GB, free: 19.71 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/1.379, allocations: 1.785 MB / 1.652 GB, free: 19.25 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/1.379, allocations: 205 kB / 1.652 GB, free: 19.24 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/1.379, allocations: 280 kB / 1.652 GB, free: 19.23 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005726/1.385, allocations: 3.927 MB / 1.656 GB, free: 18.47 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/1.385, allocations: 6.406 kB / 1.656 GB, free: 18.47 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/1.385, allocations: 110.4 kB / 1.656 GB, free: 18.47 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/1.385, allocations: 150.8 kB / 1.656 GB, free: 18.46 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005136/1.391, allocations: 3.273 MB / 1.659 GB, free: 18.43 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.01286/1.403, allocations: 8.628 MB / 1.668 GB, free: 15.54 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/1.407, allocations: 2.062 MB / 1.67 GB, free: 15.48 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/1.408, allocations: 1.243 MB / 1.671 GB, free: 15.47 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/1.409, allocations: 179.5 kB / 1.671 GB, free: 15.46 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/1.411, allocations: 1.56 MB / 1.673 GB, free: 14.98 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.28e-06/1.411, allocations: 0 / 1.673 GB, free: 14.98 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005255/1.416, allocations: 3.153 MB / 1.676 GB, free: 14.79 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.416, allocations: 79.14 kB / 1.676 GB, free: 14.72 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/1.418, allocations: 1.244 MB / 1.677 GB, free: 14.55 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.418, allocations: 70.7 kB / 1.677 GB, free: 14.52 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/1.419, allocations: 1.142 MB / 1.678 GB, free: 13.99 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/1.419, allocations: 0.7699 MB / 1.679 GB, free: 13.48 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005513/1.42, allocations: 360.5 kB / 1.679 GB, free: 13.45 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.42, allocations: 309.5 kB / 1.68 GB, free: 13.15 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.421, allocations: 0.9401 MB / 1.681 GB, free: 13.11 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.423, allocations: 1.408 MB / 1.682 GB, free: 12.61 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/1.426, allocations: 2.322 MB / 1.684 GB, free: 12.29 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.426, allocations: 4.031 kB / 1.684 GB, free: 12.29 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003956/1.43, allocations: 2.617 MB / 1.687 GB, free: 12.05 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/1.43, allocations: 37.16 kB / 1.687 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.43, allocations: 8.219 kB / 1.687 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.43, allocations: 18.69 kB / 1.687 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.432, allocations: 465.1 kB / 1.687 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/1.432, allocations: 21.72 kB / 1.687 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.434, allocations: 176.2 kB / 1.688 GB, free: 11.93 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.434, allocations: 81.61 kB / 1.688 GB, free: 11.93 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.0011/1.435, allocations: 0.6768 MB / 1.688 GB, free: 11.81 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/1.435, allocations: 211.4 kB / 1.688 GB, free: 11.7 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.439, allocations: 2.51 MB / 1.691 GB, free: 11.58 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.439, allocations: 21 kB / 1.691 GB, free: 11.58 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.439, allocations: 2.75 kB / 1.691 GB, free: 11.58 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003251/1.443, allocations: 2.324 MB / 1.693 GB, free: 11.19 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008222/1.451, allocations: 4.824 MB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.451, allocations: 6.5 kB / 1.698 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.453, allocations: 475.2 kB / 1.698 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.453, allocations: 14.16 kB / 1.698 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.453, allocations: 55.95 kB / 1.698 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.611e-05/1.453, allocations: 22.33 kB / 1.698 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.453, allocations: 2.719 kB / 1.699 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/1.458, allocations: 3.8 MB / 1.702 GB, free: 10.29 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.46, allocations: 465.8 kB / 1.703 GB, free: 10.14 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.46, allocations: 44.94 kB / 1.703 GB, free: 10.14 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.462, allocations: 59.41 kB / 1.703 GB, free: 10.14 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/1.462, allocations: 156.7 kB / 1.703 GB, free: 10.14 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.462, allocations: 74.92 kB / 1.703 GB, free: 10.14 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0009851/1.463, allocations: 0.8293 MB / 1.704 GB, free: 10.03 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.463, allocations: 0 / 1.704 GB, free: 10.03 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002078/1.465, allocations: 0.9635 MB / 1.705 GB, free: 9.875 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.0005899/1.466, allocations: 368.2 kB / 1.705 GB, free: 9.758 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003225/1.469, allocations: 2.254 MB / 1.707 GB, free: 9.625 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.469, allocations: 3.531 kB / 1.707 GB, free: 9.625 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.47, allocations: 1.145 MB / 1.708 GB, free: 9.617 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/1.475, allocations: 1.134 MB / 1.71 GB, free: 9.48 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/1.483, allocations: 5.837 MB / 1.715 GB, free: 7.168 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.485, allocations: 1.413 MB / 1.717 GB, free: 6.941 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002298/1.487, allocations: 0.6837 MB / 1.717 GB, free: 6.816 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/1.488, allocations: 185.9 kB / 1.717 GB, free: 6.812 MB / 1.311 GB Notification: Performance of SimCode: time 8.52e-07/1.488, allocations: 0 / 1.717 GB, free: 6.812 MB / 1.311 GB Notification: Performance of Templates: time 0.07418/1.562, allocations: 49.85 MB / 1.766 GB, free: 8.594 MB / 1.342 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 -s gbode -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/jenkins1/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: 63.888815547994454]