Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001033/0.001033, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009413/0.0009413, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8756/0.8756, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.618/1.618, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.3e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.662/0.662, allocations: 261.4 MB / 1.206 GB, free: 2.77 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.6856, allocations: 21.31 MB / 1.227 GB, free: 3.586 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.6884, allocations: 99.97 kB / 1.227 GB, free: 3.539 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.6917, allocations: 1.732 MB / 1.228 GB, free: 2.148 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.7031, allocations: 6.536 MB / 1.235 GB, free: 13.16 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.005715/0.7088, allocations: 3.031 MB / 1.238 GB, free: 10.87 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.006423/0.7152, allocations: 7.507 MB / 1.245 GB, free: 6.512 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.7172, allocations: 2.158 MB / 1.247 GB, free: 5.023 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/0.7212, allocations: 3.918 MB / 1.251 GB, free: 2.699 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.7235, allocations: 2.562 MB / 1.254 GB, free: 1.316 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.7238, allocations: 343.5 kB / 1.254 GB, free: 1.316 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007225/0.731, allocations: 4.999 MB / 1.259 GB, free: 13.9 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.7321, allocations: 1.59 MB / 1.26 GB, free: 12.31 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.7332, allocations: 1.384 MB / 1.262 GB, free: 10.92 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.007653/0.7408, allocations: 7.036 MB / 1.269 GB, free: 3.867 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7408, allocations: 4 kB / 1.269 GB, free: 3.863 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7408, allocations: 0 / 1.269 GB, free: 3.863 MB / 1.073 GB Notification: Performance of Transformations before backend: time 4.689e-05/0.7409, allocations: 4 kB / 1.269 GB, free: 3.859 MB / 1.073 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.005556/0.7464, allocations: 4.092 MB / 1.273 GB, free: 15.7 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7465, allocations: 12.03 kB / 1.273 GB, free: 15.69 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003242/0.7468, allocations: 392 kB / 1.273 GB, free: 15.3 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.7495, allocations: 0.8641 MB / 1.274 GB, free: 14.43 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.7516, allocations: 1.778 MB / 1.275 GB, free: 12.61 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/0.7517, allocations: 209.4 kB / 1.276 GB, free: 12.4 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.752, allocations: 280.6 kB / 1.276 GB, free: 12.13 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.7558, allocations: 3.927 MB / 1.28 GB, free: 7.996 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.7559, allocations: 7.938 kB / 1.28 GB, free: 7.988 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.7561, allocations: 112 kB / 1.28 GB, free: 7.879 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.76e-05/0.7562, allocations: 145.3 kB / 1.28 GB, free: 7.734 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.7597, allocations: 3.276 MB / 1.283 GB, free: 4.445 MB / 1.089 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.008526/0.7683, allocations: 9.005 MB / 1.292 GB, free: 11.26 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.7704, allocations: 2.063 MB / 1.294 GB, free: 9.207 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.7716, allocations: 1.251 MB / 1.295 GB, free: 7.957 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/0.772, allocations: 177.9 kB / 1.295 GB, free: 7.785 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.7734, allocations: 1.548 MB / 1.297 GB, free: 6.145 MB / 1.104 GB Notification: Performance of pre-optimization done (n=213): time 3.967e-06/0.7734, allocations: 4 kB / 1.297 GB, free: 6.141 MB / 1.104 GB Notification: Performance of matching and sorting (n=213): time 0.003654/0.777, allocations: 3.177 MB / 1.3 GB, free: 2.961 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.7771, allocations: 77.41 kB / 1.3 GB, free: 2.875 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.7783, allocations: 1.464 MB / 1.302 GB, free: 1.406 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.7784, allocations: 69.7 kB / 1.302 GB, free: 1.332 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.779, allocations: 1.141 MB / 1.303 GB, free: 184 kB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.7794, allocations: 0.763 MB / 1.303 GB, free: 15.41 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.7798, allocations: 359.5 kB / 1.304 GB, free: 15.05 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.7799, allocations: 304.9 kB / 1.304 GB, free: 14.75 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7809, allocations: 0.9387 MB / 1.305 GB, free: 13.8 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.7821, allocations: 1.409 MB / 1.306 GB, free: 12.23 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.7843, allocations: 2.325 MB / 1.309 GB, free: 9.797 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.7843, allocations: 4 kB / 1.309 GB, free: 9.793 MB / 1.12 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.002717/0.787, allocations: 2.636 MB / 1.311 GB, free: 7.137 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.7871, allocations: 37.7 kB / 1.311 GB, free: 7.094 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7871, allocations: 8 kB / 1.311 GB, free: 7.086 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.7871, allocations: 16 kB / 1.311 GB, free: 7.07 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.7882, allocations: 471.3 kB / 1.312 GB, free: 6.609 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.7882, allocations: 23.92 kB / 1.312 GB, free: 6.586 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/0.7892, allocations: 198.5 kB / 1.312 GB, free: 6.391 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7893, allocations: 79.98 kB / 1.312 GB, free: 6.312 MB / 1.12 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.0008061/0.7901, allocations: 0.6824 MB / 1.313 GB, free: 5.621 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.7903, allocations: 226.6 kB / 1.313 GB, free: 5.398 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.7929, allocations: 2.525 MB / 1.315 GB, free: 2.863 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.7929, allocations: 20 kB / 1.315 GB, free: 2.844 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.7929, allocations: 1.625 kB / 1.315 GB, free: 2.844 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002147/0.7951, allocations: 2.339 MB / 1.318 GB, free: 448 kB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/0.8005, allocations: 5.123 MB / 1.323 GB, free: 11.23 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.8005, allocations: 0 / 1.323 GB, free: 11.23 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.8016, allocations: 479.7 kB / 1.323 GB, free: 10.76 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.8016, allocations: 12 kB / 1.323 GB, free: 10.75 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.8017, allocations: 55.98 kB / 1.323 GB, free: 10.69 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.8017, allocations: 8 kB / 1.323 GB, free: 10.68 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8017, allocations: 4 kB / 1.323 GB, free: 10.68 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.8054, allocations: 3.807 MB / 1.327 GB, free: 6.824 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/0.8062, allocations: 478.1 kB / 1.327 GB, free: 6.355 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.8063, allocations: 47.94 kB / 1.327 GB, free: 6.309 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.807, allocations: 65.77 kB / 1.328 GB, free: 6.246 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.8072, allocations: 157.6 kB / 1.328 GB, free: 6.094 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.8073, allocations: 71.97 kB / 1.328 GB, free: 6.023 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0008613/0.8082, allocations: 0.9906 MB / 1.329 GB, free: 5.039 MB / 1.135 GB Notification: Performance of sort global known variables: time 8e-08/0.8082, allocations: 0 / 1.329 GB, free: 5.039 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001502/0.8097, allocations: 0.9434 MB / 1.33 GB, free: 4.094 MB / 1.135 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.004211/0.8139, allocations: 4.625 MB / 1.334 GB, free: 15.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.8164, allocations: 2.26 MB / 1.336 GB, free: 13.14 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8164, allocations: 0 / 1.336 GB, free: 13.14 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.8175, allocations: 1.152 MB / 1.337 GB, free: 11.99 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.8205, allocations: 1.281 MB / 1.339 GB, free: 10.73 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.8392, allocations: 18.48 MB / 1.357 GB, free: 7.73 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/0.8401, allocations: 1.411 MB / 1.358 GB, free: 6.277 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001702/0.8418, allocations: 0.721 MB / 1.359 GB, free: 5.555 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.8429, allocations: 1.098 MB / 1.36 GB, free: 4.453 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/0.8429, allocations: 0 / 1.36 GB, free: 4.453 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/0.9186, allocations: 71.41 MB / 1.43 GB, free: 14.3 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.335/10.25, allocations: 6.969 kB / 1.43 GB, free: 14.3 MB / 1.245 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.29701881390065]