Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001845/0.001845, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00153/0.00153, allocations: 216.2 kB / 22.25 MB, free: 5.078 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 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.015/3.015, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [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.001911/0.001911, allocations: 65.83 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3618, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2271/0.5888, allocations: 196.7 MB / 1.545 GB, free: 3.008 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.007161/0.596, allocations: 4.224 MB / 1.549 GB, free: 14.77 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.5968, allocations: 27.75 kB / 1.549 GB, free: 14.75 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.5981, allocations: 497 kB / 1.55 GB, free: 14.26 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.6021, allocations: 1.672 MB / 1.551 GB, free: 12.58 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.6057, allocations: 1.416 MB / 1.553 GB, free: 11.16 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.6081, allocations: 1.686 MB / 1.554 GB, free: 9.473 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.6093, allocations: 0.85 MB / 1.555 GB, free: 8.609 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.6112, allocations: 1.125 MB / 1.556 GB, free: 7.48 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.6124, allocations: 0.9424 MB / 1.557 GB, free: 6.535 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.6126, allocations: 104 kB / 1.557 GB, free: 6.434 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.6153, allocations: 1.438 MB / 1.559 GB, free: 4.992 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.6157, allocations: 382.8 kB / 1.559 GB, free: 4.617 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0005766/0.6163, allocations: 0.5367 MB / 1.559 GB, free: 4.078 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.6188, allocations: 1.736 MB / 1.561 GB, free: 2.336 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6188, allocations: 3.938 kB / 1.561 GB, free: 2.332 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6188, allocations: 0 / 1.561 GB, free: 2.332 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.6189, allocations: 0 / 1.561 GB, free: 2.332 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00265/0.6215, allocations: 1.212 MB / 1.562 GB, free: 1.086 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6216, allocations: 8.031 kB / 1.562 GB, free: 1.078 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.6217, allocations: 94.52 kB / 1.562 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.6247, allocations: 426.9 kB / 1.563 GB, free: 0.5586 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.6258, allocations: 0.5812 MB / 1.563 GB, free: 15.94 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.6258, allocations: 36.91 kB / 1.563 GB, free: 15.91 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.626, allocations: 51.95 kB / 1.564 GB, free: 15.86 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.628, allocations: 1.13 MB / 1.565 GB, free: 14.66 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.628, allocations: 7.938 kB / 1.565 GB, free: 14.65 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.6281, allocations: 16 kB / 1.565 GB, free: 14.64 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.6282, allocations: 35.92 kB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.6306, allocations: 1.202 MB / 1.566 GB, free: 13.4 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.6365, allocations: 4.349 MB / 1.57 GB, free: 8.879 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.6386, allocations: 0.8475 MB / 1.571 GB, free: 8.023 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.6397, allocations: 0.5721 MB / 1.572 GB, free: 7.449 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.6402, allocations: 88.33 kB / 1.572 GB, free: 7.363 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.6403, allocations: 39 kB / 1.572 GB, free: 7.312 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002234/0.6425, allocations: 0.6283 MB / 1.572 GB, free: 6.684 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/0.6425, allocations: 0 / 1.572 GB, free: 6.684 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.01818/0.6607, allocations: 3.972 MB / 1.576 GB, free: 2.695 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6607, allocations: 55.84 kB / 1.576 GB, free: 2.629 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.6617, allocations: 0.7234 MB / 1.577 GB, free: 1.891 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/0.6618, allocations: 37.7 kB / 1.577 GB, free: 1.848 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.662, allocations: 324.9 kB / 1.577 GB, free: 1.527 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.6622, allocations: 186.3 kB / 1.577 GB, free: 1.344 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.6625, allocations: 154 kB / 1.578 GB, free: 1.188 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6627, allocations: 330 kB / 1.578 GB, free: 0.8594 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.6637, allocations: 0.4967 MB / 1.578 GB, free: 372 kB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.6649, allocations: 0.5711 MB / 1.579 GB, free: 15.76 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.6671, allocations: 1.101 MB / 1.58 GB, free: 14.63 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6671, allocations: 0 / 1.58 GB, free: 14.63 MB / 1.279 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01173/0.6788, allocations: 2.752 MB / 1.583 GB, free: 11.86 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6788, allocations: 7.984 kB / 1.583 GB, free: 11.86 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6788, allocations: 7.938 kB / 1.583 GB, free: 11.85 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00915/0.688, allocations: 1.734 MB / 1.584 GB, free: 10.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.6887, allocations: 131.8 kB / 1.585 GB, free: 9.977 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.7013, allocations: 6.942 MB / 1.591 GB, free: 2.793 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.7025, allocations: 48 kB / 1.591 GB, free: 2.746 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.7026, allocations: 47.92 kB / 1.591 GB, free: 2.699 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.7031, allocations: 205.7 kB / 1.592 GB, free: 2.488 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.7034, allocations: 87.47 kB / 1.592 GB, free: 2.402 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/0.7091, allocations: 1.919 MB / 1.594 GB, free: 476 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.7091, allocations: 8 kB / 1.594 GB, free: 468 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7091, allocations: 7.984 kB / 1.594 GB, free: 460 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7091, allocations: 0 / 1.594 GB, free: 460 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/0.7161, allocations: 2.822 MB / 1.596 GB, free: 13.55 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.7161, allocations: 256 / 1.596 GB, free: 13.55 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.7169, allocations: 116 kB / 1.596 GB, free: 13.44 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003313/0.7202, allocations: 0.8055 MB / 1.597 GB, free: 12.63 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.7202, allocations: 15.98 kB / 1.597 GB, free: 12.61 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006845/0.7271, allocations: 4.653 MB / 1.602 GB, free: 7.73 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7271, allocations: 4 kB / 1.602 GB, free: 7.727 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006331/0.7334, allocations: 2.461 MB / 1.604 GB, free: 5.223 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.7339, allocations: 175.3 kB / 1.604 GB, free: 5.051 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.7341, allocations: 8 kB / 1.604 GB, free: 5.043 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.7349, allocations: 51.94 kB / 1.604 GB, free: 4.992 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.7351, allocations: 60.22 kB / 1.604 GB, free: 4.934 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.7351, allocations: 19.98 kB / 1.604 GB, free: 4.914 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007335/0.7359, allocations: 0.5068 MB / 1.605 GB, free: 4.41 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7359, allocations: 0 / 1.605 GB, free: 4.41 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001044/0.7369, allocations: 299.8 kB / 1.605 GB, free: 4.117 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007022/0.7439, allocations: 3.096 MB / 1.608 GB, free: 0.9648 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.6438/1.388, allocations: 1.591 MB / 1.61 GB, free: 256.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.388, allocations: 0.9062 kB / 1.61 GB, free: 256.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.39, allocations: 0.9534 MB / 1.611 GB, free: 256.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.392, allocations: 471.3 kB / 1.611 GB, free: 256.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/1.424, allocations: 11.14 MB / 1.622 GB, free: 253.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/1.425, allocations: 0.9875 MB / 1.623 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009371/1.426, allocations: 165.3 kB / 1.623 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/1.426, allocations: 290 kB / 1.623 GB, free: 252.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.426, allocations: 0 / 1.623 GB, free: 252.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07955/1.506, allocations: 32.4 MB / 1.655 GB, free: 239.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.63, allocations: 1.547 kB / 1.655 GB, free: 239.1 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pow_2dat.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.175565648999964]