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.0008969/0.0008969, 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.0009222/0.0009222, 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.8561/0.8561, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.646/1.646, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.132e-05, allocations: 4.953 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5958/0.5958, allocations: 261.5 MB / 1.236 GB, free: 15.29 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.6172, allocations: 21.31 MB / 1.257 GB, free: 14.53 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.6206, allocations: 100.8 kB / 1.257 GB, free: 14.48 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.6247, allocations: 1.731 MB / 1.259 GB, free: 13.09 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.637, allocations: 6.524 MB / 1.265 GB, free: 7.016 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.6434, allocations: 3.037 MB / 1.268 GB, free: 3.98 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.008604/0.652, allocations: 7.526 MB / 1.276 GB, free: 12.43 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.6551, allocations: 2.149 MB / 1.278 GB, free: 10.23 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008183/0.6633, allocations: 4.177 MB / 1.282 GB, free: 6.078 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.6673, allocations: 2.528 MB / 1.284 GB, free: 3.559 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0007341/0.668, allocations: 344 kB / 1.285 GB, free: 3.223 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008491/0.6765, allocations: 4.98 MB / 1.29 GB, free: 14.23 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.6781, allocations: 1.586 MB / 1.291 GB, free: 12.64 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.6803, allocations: 1.388 MB / 1.292 GB, free: 11.25 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.6915, allocations: 7.032 MB / 1.299 GB, free: 4.195 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6915, allocations: 0 / 1.299 GB, free: 4.195 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6915, allocations: 3.938 kB / 1.299 GB, free: 4.191 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.489e-05/0.6916, allocations: 0 / 1.299 GB, free: 4.191 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.00682/0.6984, allocations: 4.096 MB / 1.303 GB, free: 36 kB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6984, allocations: 12.03 kB / 1.303 GB, free: 24 kB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004108/0.6988, allocations: 392 kB / 1.304 GB, free: 15.63 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.7018, allocations: 0.8654 MB / 1.305 GB, free: 14.77 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.7043, allocations: 1.779 MB / 1.306 GB, free: 12.93 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.7044, allocations: 209.4 kB / 1.306 GB, free: 12.73 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.7047, allocations: 279.9 kB / 1.307 GB, free: 12.45 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.7088, allocations: 3.935 MB / 1.311 GB, free: 8.312 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.7089, allocations: 3.938 kB / 1.311 GB, free: 8.309 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.7091, allocations: 120 kB / 1.311 GB, free: 8.191 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.973e-05/0.7092, allocations: 145.2 kB / 1.311 GB, free: 8.047 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.7129, allocations: 3.272 MB / 1.314 GB, free: 4.762 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.009471/0.7224, allocations: 9.008 MB / 1.323 GB, free: 11.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.7247, allocations: 2.063 MB / 1.325 GB, free: 9.52 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.7259, allocations: 1.243 MB / 1.326 GB, free: 8.277 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/0.7264, allocations: 183.8 kB / 1.326 GB, free: 8.102 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/0.7279, allocations: 1.548 MB / 1.328 GB, free: 6.461 MB / 1.151 GB Notification: Performance of pre-optimization done (n=213): time 4.689e-06/0.7279, allocations: 0 / 1.328 GB, free: 6.461 MB / 1.151 GB Notification: Performance of matching and sorting (n=213): time 0.003891/0.7318, allocations: 3.173 MB / 1.331 GB, free: 3.285 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.7318, allocations: 81.41 kB / 1.331 GB, free: 3.195 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.7332, allocations: 1.468 MB / 1.332 GB, free: 1.723 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7334, allocations: 65.7 kB / 1.332 GB, free: 1.652 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006938/0.734, allocations: 1.141 MB / 1.334 GB, free: 0.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000651/0.7347, allocations: 0.7592 MB / 1.334 GB, free: 15.73 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003637/0.7351, allocations: 355.5 kB / 1.335 GB, free: 15.38 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.7351, allocations: 312.9 kB / 1.335 GB, free: 15.07 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.7361, allocations: 0.9387 MB / 1.336 GB, free: 14.12 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.7373, allocations: 1.405 MB / 1.337 GB, free: 12.55 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7397, allocations: 2.322 MB / 1.339 GB, free: 10.12 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.7398, allocations: 0 / 1.339 GB, free: 10.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003245/0.743, allocations: 2.643 MB / 1.342 GB, free: 7.461 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.743, allocations: 33.7 kB / 1.342 GB, free: 7.422 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.7431, allocations: 8 kB / 1.342 GB, free: 7.414 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.7431, allocations: 16 kB / 1.342 GB, free: 7.398 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.7441, allocations: 467.7 kB / 1.343 GB, free: 6.941 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.7442, allocations: 31.86 kB / 1.343 GB, free: 6.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7452, allocations: 205 kB / 1.343 GB, free: 6.711 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.7453, allocations: 75.98 kB / 1.343 GB, free: 6.637 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.0009575/0.7463, allocations: 0.689 MB / 1.344 GB, free: 5.938 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.7465, allocations: 222.6 kB / 1.344 GB, free: 5.719 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.7493, allocations: 2.521 MB / 1.346 GB, free: 3.188 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7493, allocations: 20 kB / 1.346 GB, free: 3.168 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7493, allocations: 3.938 kB / 1.346 GB, free: 3.164 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002402/0.7518, allocations: 2.327 MB / 1.348 GB, free: 0.7734 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/0.7579, allocations: 5.127 MB / 1.353 GB, free: 11.56 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7579, allocations: 8.062 kB / 1.353 GB, free: 11.55 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.7591, allocations: 471.4 kB / 1.354 GB, free: 11.09 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.7591, allocations: 11.94 kB / 1.354 GB, free: 11.08 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.522e-05/0.7592, allocations: 55.98 kB / 1.354 GB, free: 11.02 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.7592, allocations: 12 kB / 1.354 GB, free: 11.01 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7592, allocations: 7.938 kB / 1.354 GB, free: 11 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.7633, allocations: 3.814 MB / 1.358 GB, free: 7.141 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/0.7641, allocations: 478 kB / 1.358 GB, free: 6.672 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.7643, allocations: 48 kB / 1.358 GB, free: 6.625 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.7651, allocations: 71.53 kB / 1.358 GB, free: 6.559 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.7653, allocations: 153.7 kB / 1.358 GB, free: 6.41 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.7654, allocations: 71.97 kB / 1.359 GB, free: 6.34 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001001/0.7664, allocations: 0.9866 MB / 1.359 GB, free: 5.359 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7664, allocations: 0 / 1.359 GB, free: 5.359 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.001637/0.768, allocations: 0.9435 MB / 1.36 GB, free: 4.414 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.00448/0.7725, allocations: 4.626 MB / 1.365 GB, free: 15.73 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002613/0.7751, allocations: 2.261 MB / 1.367 GB, free: 13.45 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7751, allocations: 0 / 1.367 GB, free: 13.45 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.7763, allocations: 1.144 MB / 1.368 GB, free: 12.31 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.7796, allocations: 1.291 MB / 1.37 GB, free: 11.04 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.7992, allocations: 18.48 MB / 1.388 GB, free: 8.016 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.8003, allocations: 1.407 MB / 1.389 GB, free: 6.566 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.001724/0.802, allocations: 0.7249 MB / 1.39 GB, free: 5.84 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.8033, allocations: 1.094 MB / 1.391 GB, free: 4.746 MB / 1.214 GB Notification: Performance of SimCode: time 1.413e-06/0.8033, allocations: 0 / 1.391 GB, free: 4.746 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08001/0.8833, allocations: 71.4 MB / 1.46 GB, free: 14.64 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/10.07, allocations: 14.56 kB / 1.46 GB, free: 14.64 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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] "Error: Could not read variable CO2SenWes.C in file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv. Warning: Get data of variable CO2SenWes.C from file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv failed! Error: Could not read variable CO2SenEas.C in file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv. Warning: Get data of variable CO2SenEas.C from file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv failed! Error: Could not read variable CO2SenTop.C in file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv. Warning: Get data of variable CO2SenTop.C from file Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.064623289741576]