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.0008394/0.0008394, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 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.0008478/0.0008478, allocations: 169.9 kB / 22.46 MB, free: 2.094 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 0.8665/0.8665, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.675/1.675, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.312e-05, allocations: 5.375 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5773/0.5774, allocations: 261.5 MB / 1.236 GB, free: 15.19 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.02341/0.6008, allocations: 21.3 MB / 1.257 GB, free: 14.44 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003441/0.6042, allocations: 103 kB / 1.257 GB, free: 14.39 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.6081, allocations: 1.727 MB / 1.259 GB, free: 13 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.6218, allocations: 6.532 MB / 1.265 GB, free: 6.949 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.006407/0.6282, allocations: 3.027 MB / 1.268 GB, free: 3.922 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.008592/0.6368, allocations: 7.532 MB / 1.276 GB, free: 12.36 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.64, allocations: 2.145 MB / 1.278 GB, free: 10.17 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007327/0.6473, allocations: 4.183 MB / 1.282 GB, free: 6.016 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.6511, allocations: 2.529 MB / 1.284 GB, free: 3.488 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.000461/0.6516, allocations: 344 kB / 1.285 GB, free: 3.152 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008575/0.6601, allocations: 4.98 MB / 1.29 GB, free: 14.15 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.6616, allocations: 1.578 MB / 1.291 GB, free: 12.57 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.663, allocations: 1.384 MB / 1.292 GB, free: 11.18 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.008058/0.6711, allocations: 7.036 MB / 1.299 GB, free: 4.129 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6711, allocations: 4 kB / 1.299 GB, free: 4.125 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6711, allocations: 0 / 1.299 GB, free: 4.125 MB / 1.12 GB Notification: Performance of Transformations before backend: time 3.761e-05/0.6711, allocations: 0 / 1.299 GB, free: 4.125 MB / 1.12 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.005284/0.6764, allocations: 4.096 MB / 1.303 GB, free: 15.97 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6765, allocations: 8.031 kB / 1.303 GB, free: 15.96 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005592/0.677, allocations: 396 kB / 1.304 GB, free: 15.57 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.6796, allocations: 0.8712 MB / 1.305 GB, free: 14.7 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.6816, allocations: 1.778 MB / 1.306 GB, free: 12.87 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.6817, allocations: 209.4 kB / 1.306 GB, free: 12.66 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.682, allocations: 283.9 kB / 1.307 GB, free: 12.38 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.686, allocations: 3.923 MB / 1.311 GB, free: 8.254 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.6861, allocations: 7.938 kB / 1.311 GB, free: 8.246 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.6862, allocations: 116 kB / 1.311 GB, free: 8.133 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-05/0.6863, allocations: 145.3 kB / 1.311 GB, free: 7.988 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003593/0.6899, allocations: 3.268 MB / 1.314 GB, free: 4.707 MB / 1.135 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.008307/0.6982, allocations: 9.012 MB / 1.323 GB, free: 11.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.7006, allocations: 2.067 MB / 1.325 GB, free: 9.461 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.7018, allocations: 1.243 MB / 1.326 GB, free: 8.219 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.7022, allocations: 175.8 kB / 1.326 GB, free: 8.051 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.7036, allocations: 1.56 MB / 1.328 GB, free: 6.398 MB / 1.151 GB Notification: Performance of pre-optimization done (n=213): time 4.539e-06/0.7036, allocations: 4 kB / 1.328 GB, free: 6.395 MB / 1.151 GB Notification: Performance of matching and sorting (n=213): time 0.003735/0.7074, allocations: 3.169 MB / 1.331 GB, free: 3.223 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.7074, allocations: 73.41 kB / 1.331 GB, free: 3.141 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.7088, allocations: 1.468 MB / 1.332 GB, free: 1.668 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7089, allocations: 65.7 kB / 1.332 GB, free: 1.598 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.7095, allocations: 1.141 MB / 1.334 GB, free: 456 kB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.7099, allocations: 0.7631 MB / 1.334 GB, free: 15.67 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.7103, allocations: 355.6 kB / 1.335 GB, free: 15.32 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.7104, allocations: 312.9 kB / 1.335 GB, free: 15.01 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.7114, allocations: 0.9348 MB / 1.336 GB, free: 14.07 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.7126, allocations: 1.409 MB / 1.337 GB, free: 12.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.715, allocations: 2.321 MB / 1.339 GB, free: 10.07 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.715, allocations: 4.875 kB / 1.339 GB, free: 10.06 MB / 1.167 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.002846/0.7178, allocations: 2.64 MB / 1.342 GB, free: 7.402 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.7179, allocations: 37.64 kB / 1.342 GB, free: 7.359 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7179, allocations: 8 kB / 1.342 GB, free: 7.352 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.7179, allocations: 19.94 kB / 1.342 GB, free: 7.332 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.719, allocations: 463.4 kB / 1.343 GB, free: 6.879 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.719, allocations: 23.88 kB / 1.343 GB, free: 6.855 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.7199, allocations: 206.5 kB / 1.343 GB, free: 6.652 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.72, allocations: 77.94 kB / 1.343 GB, free: 6.578 MB / 1.167 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.0008529/0.7209, allocations: 0.6851 MB / 1.343 GB, free: 5.883 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.7211, allocations: 222.6 kB / 1.344 GB, free: 5.664 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.724, allocations: 2.525 MB / 1.346 GB, free: 3.129 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.724, allocations: 20 kB / 1.346 GB, free: 3.109 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.724, allocations: 4 kB / 1.346 GB, free: 3.105 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002255/0.7263, allocations: 2.327 MB / 1.348 GB, free: 0.7148 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/0.7319, allocations: 5.127 MB / 1.353 GB, free: 11.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7319, allocations: 0 / 1.353 GB, free: 11.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.733, allocations: 479.7 kB / 1.354 GB, free: 11.03 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.733, allocations: 8 kB / 1.354 GB, free: 11.02 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/0.7331, allocations: 55.97 kB / 1.354 GB, free: 10.97 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.7331, allocations: 11.94 kB / 1.354 GB, free: 10.96 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7331, allocations: 4 kB / 1.354 GB, free: 10.95 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.7367, allocations: 3.81 MB / 1.358 GB, free: 7.094 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.7374, allocations: 490 kB / 1.358 GB, free: 6.613 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.7375, allocations: 44.86 kB / 1.358 GB, free: 6.57 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.7382, allocations: 68.84 kB / 1.358 GB, free: 6.504 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.7384, allocations: 157.7 kB / 1.358 GB, free: 6.352 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.7385, allocations: 75.97 kB / 1.359 GB, free: 6.277 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0009153/0.7394, allocations: 0.9905 MB / 1.359 GB, free: 5.293 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7394, allocations: 0 / 1.359 GB, free: 5.293 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.001361/0.7408, allocations: 0.9357 MB / 1.36 GB, free: 4.355 MB / 1.182 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.004192/0.745, allocations: 4.622 MB / 1.365 GB, free: 15.68 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.7474, allocations: 2.26 MB / 1.367 GB, free: 13.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7474, allocations: 4 kB / 1.367 GB, free: 13.39 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.7486, allocations: 1.145 MB / 1.368 GB, free: 12.25 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.7514, allocations: 1.288 MB / 1.37 GB, free: 11 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.7696, allocations: 18.49 MB / 1.388 GB, free: 7.977 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.7706, allocations: 1.411 MB / 1.389 GB, free: 6.523 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.001718/0.7724, allocations: 0.721 MB / 1.39 GB, free: 5.801 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.7734, allocations: 1.094 MB / 1.391 GB, free: 4.707 MB / 1.214 GB Notification: Performance of SimCode: time 1.382e-06/0.7734, allocations: 0 / 1.391 GB, free: 4.707 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07272/0.8461, allocations: 71.4 MB / 1.46 GB, free: 14.61 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.957/9.803, allocations: 17.62 kB / 1.46 GB, free: 14.6 MB / 1.292 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] 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: 13.815815669484437]