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.001667/0.001667, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002071/0.002071, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.179/3.179, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.819e-05, allocations: 4.703 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.825/0.825, allocations: 261.6 MB / 1.133 GB, free: 44.75 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.03744/0.8624, allocations: 21.45 MB / 1.154 GB, free: 43.85 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.8674, allocations: 103.8 kB / 1.154 GB, free: 43.85 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.006154/0.8736, allocations: 1.724 MB / 1.156 GB, free: 43.36 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.02095/0.8945, allocations: 6.609 MB / 1.162 GB, free: 40.36 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.009639/0.9041, allocations: 3.024 MB / 1.165 GB, free: 38.92 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.9177, allocations: 7.579 MB / 1.173 GB, free: 35.38 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005379/0.923, allocations: 2.179 MB / 1.175 GB, free: 34.1 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.9357, allocations: 4.269 MB / 1.179 GB, free: 32.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.942, allocations: 2.571 MB / 1.181 GB, free: 31.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.9438, allocations: 348.7 kB / 1.182 GB, free: 31.57 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.9564, allocations: 5.02 MB / 1.187 GB, free: 29.8 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.002801/0.9592, allocations: 1.61 MB / 1.188 GB, free: 29.06 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.9634, allocations: 1.39 MB / 1.19 GB, free: 28.5 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.98, allocations: 7.129 MB / 1.197 GB, free: 26.2 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.98, allocations: 0 / 1.197 GB, free: 26.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.362e-06/0.98, allocations: 0 / 1.197 GB, free: 26.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002211/0.9802, allocations: 0 / 1.197 GB, free: 26.2 MB / 1.01 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.01355/0.9938, allocations: 4.115 MB / 1.201 GB, free: 23.92 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.9938, allocations: 11.72 kB / 1.201 GB, free: 23.92 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.004, allocations: 1.624 MB / 1.202 GB, free: 23.46 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005907/1.01, allocations: 1.892 MB / 1.204 GB, free: 22.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/1.01, allocations: 211.8 kB / 1.204 GB, free: 22.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/1.012, allocations: 286.3 kB / 1.204 GB, free: 22.35 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/1.024, allocations: 4.104 MB / 1.209 GB, free: 20.44 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/1.024, allocations: 12.2 kB / 1.209 GB, free: 20.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009368/1.025, allocations: 113.6 kB / 1.209 GB, free: 20.35 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/1.025, allocations: 148.8 kB / 1.209 GB, free: 20.33 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009589/1.034, allocations: 3.571 MB / 1.212 GB, free: 19.15 MB / 1.01 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.02182/1.056, allocations: 9.077 MB / 1.221 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/1.062, allocations: 2.387 MB / 1.223 GB, free: 12.85 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/1.065, allocations: 1.399 MB / 1.225 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/1.066, allocations: 74.41 kB / 1.225 GB, free: 12.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003317/1.069, allocations: 1.728 MB / 1.227 GB, free: 10.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 5.821e-06/1.069, allocations: 0 / 1.227 GB, free: 10.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.009034/1.078, allocations: 3.673 MB / 1.23 GB, free: 9.098 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.078, allocations: 74.22 kB / 1.23 GB, free: 9.031 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/1.081, allocations: 1.255 MB / 1.231 GB, free: 8.348 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/1.081, allocations: 69.02 kB / 1.232 GB, free: 8.285 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009467/1.082, allocations: 1.15 MB / 1.233 GB, free: 7.285 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009264/1.083, allocations: 0.7564 MB / 1.233 GB, free: 6.613 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009366/1.084, allocations: 364.4 kB / 1.234 GB, free: 6.41 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/1.084, allocations: 301.1 kB / 1.234 GB, free: 6.113 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/1.086, allocations: 1.095 MB / 1.235 GB, free: 5.535 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/1.089, allocations: 1.556 MB / 1.237 GB, free: 4.434 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/1.094, allocations: 2.578 MB / 1.239 GB, free: 2.941 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.094, allocations: 2.812 kB / 1.239 GB, free: 2.941 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00638/1.1, allocations: 2.999 MB / 1.242 GB, free: 1.457 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/1.1, allocations: 33.92 kB / 1.242 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.1, allocations: 5.531 kB / 1.242 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.588e-05/1.1, allocations: 17.66 kB / 1.242 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/1.103, allocations: 0.5058 MB / 1.243 GB, free: 1.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.134e-05/1.103, allocations: 31.98 kB / 1.243 GB, free: 1.293 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/1.105, allocations: 198.8 kB / 1.243 GB, free: 1.098 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/1.106, allocations: 79.97 kB / 1.243 GB, free: 1.02 MB / 1.01 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.001619/1.107, allocations: 0.689 MB / 1.244 GB, free: 356 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.108, allocations: 278.7 kB / 1.244 GB, free: 76 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007171/1.115, allocations: 2.789 MB / 1.247 GB, free: 13.27 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/1.116, allocations: 20 kB / 1.247 GB, free: 13.25 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.116, allocations: 0 / 1.247 GB, free: 13.25 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006005/1.122, allocations: 2.633 MB / 1.249 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/1.137, allocations: 5.299 MB / 1.254 GB, free: 5.199 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/1.137, allocations: 3.984 kB / 1.254 GB, free: 5.195 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003148/1.14, allocations: 0.508 MB / 1.255 GB, free: 4.707 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.704e-05/1.14, allocations: 8 kB / 1.255 GB, free: 4.699 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/1.14, allocations: 59.97 kB / 1.255 GB, free: 4.641 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/1.14, allocations: 10.44 kB / 1.255 GB, free: 4.633 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.14, allocations: 4 kB / 1.255 GB, free: 4.629 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.151, allocations: 4.371 MB / 1.259 GB, free: 224 kB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.153, allocations: 494.3 kB / 1.26 GB, free: 15.73 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006951/1.154, allocations: 40 kB / 1.26 GB, free: 15.69 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.156, allocations: 101.6 kB / 1.26 GB, free: 15.59 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004984/1.157, allocations: 164.2 kB / 1.26 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.157, allocations: 75.95 kB / 1.26 GB, free: 15.36 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002032/1.159, allocations: 0.8375 MB / 1.261 GB, free: 14.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/1.159, allocations: 0 / 1.261 GB, free: 14.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.003913/1.163, allocations: 0.9862 MB / 1.262 GB, free: 13.54 MB / 1.042 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.00102/1.164, allocations: 349.2 kB / 1.262 GB, free: 13.21 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.007024/1.171, allocations: 2.561 MB / 1.265 GB, free: 10.68 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.171, allocations: 0 / 1.265 GB, free: 10.68 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.174, allocations: 1.311 MB / 1.266 GB, free: 9.41 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007265/1.182, allocations: 1.182 MB / 1.267 GB, free: 8.262 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.197, allocations: 5.756 MB / 1.273 GB, free: 2.426 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/1.2, allocations: 1.414 MB / 1.274 GB, free: 0.9688 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.004359/1.204, allocations: 0.7077 MB / 1.275 GB, free: 264 kB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.205, allocations: 192.4 kB / 1.275 GB, free: 72 kB / 1.042 GB Notification: Performance of SimCode: time 2.084e-06/1.205, allocations: 0 / 1.275 GB, free: 72 kB / 1.042 GB Notification: Performance of Templates: time 0.09635/1.302, allocations: 47.66 MB / 1.321 GB, free: 1.441 MB / 1.089 GB " [Timeout remaining time 299] 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/jenkins/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.295247617992572]