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.001781/0.001781, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00229/0.00229, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.797 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.337/3.337, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] 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.002105/0.002105, allocations: 68.47 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2196/0.588, allocations: 170.5 MB / 1.53 GB, free: 2.926 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007068/0.5951, allocations: 3.947 MB / 1.534 GB, free: 14.97 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.596, allocations: 27.81 kB / 1.534 GB, free: 14.94 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.5974, allocations: 461 kB / 1.534 GB, free: 14.49 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.6016, allocations: 1.633 MB / 1.536 GB, free: 12.85 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003876/0.6055, allocations: 1.403 MB / 1.537 GB, free: 11.45 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.6083, allocations: 1.678 MB / 1.539 GB, free: 9.762 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.6097, allocations: 0.8461 MB / 1.54 GB, free: 8.902 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.6121, allocations: 1.137 MB / 1.541 GB, free: 7.762 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.6136, allocations: 0.8603 MB / 1.542 GB, free: 6.898 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.6139, allocations: 104 kB / 1.542 GB, free: 6.797 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.6164, allocations: 1.134 MB / 1.543 GB, free: 5.66 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.6169, allocations: 374.9 kB / 1.543 GB, free: 5.293 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.6175, allocations: 474 kB / 1.544 GB, free: 4.828 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.6203, allocations: 1.705 MB / 1.545 GB, free: 3.117 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6203, allocations: 0 / 1.545 GB, free: 3.117 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6203, allocations: 0 / 1.545 GB, free: 3.117 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.6203, allocations: 0 / 1.545 GB, free: 3.117 MB / 1.232 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.002813/0.6231, allocations: 1.208 MB / 1.546 GB, free: 1.871 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6232, allocations: 8.031 kB / 1.546 GB, free: 1.863 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.6233, allocations: 94.52 kB / 1.547 GB, free: 1.762 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.6264, allocations: 434.8 kB / 1.547 GB, free: 1.336 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.6277, allocations: 0.5811 MB / 1.548 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.6278, allocations: 37 kB / 1.548 GB, free: 0.6914 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6279, allocations: 44 kB / 1.548 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.6302, allocations: 1.187 MB / 1.549 GB, free: 15.38 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.6302, allocations: 7.938 kB / 1.549 GB, free: 15.38 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.6303, allocations: 20 kB / 1.549 GB, free: 15.36 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/0.6303, allocations: 31.92 kB / 1.549 GB, free: 15.32 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.6329, allocations: 1.202 MB / 1.55 GB, free: 14.12 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/0.6395, allocations: 3.924 MB / 1.554 GB, free: 10.07 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.6418, allocations: 0.8492 MB / 1.555 GB, free: 9.219 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.6431, allocations: 0.5721 MB / 1.555 GB, free: 8.645 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.6436, allocations: 92.33 kB / 1.555 GB, free: 8.555 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.6436, allocations: 39 kB / 1.555 GB, free: 8.508 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002496/0.6461, allocations: 0.6283 MB / 1.556 GB, free: 7.879 MB / 1.248 GB Notification: Performance of pre-optimization done (n=50): time 4.959e-06/0.6461, allocations: 0 / 1.556 GB, free: 7.879 MB / 1.248 GB Notification: Performance of matching and sorting (n=50): time 0.01966/0.6658, allocations: 3.976 MB / 1.56 GB, free: 3.883 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.6658, allocations: 55.84 kB / 1.56 GB, free: 3.816 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6669, allocations: 0.7273 MB / 1.561 GB, free: 3.078 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.6671, allocations: 33.7 kB / 1.561 GB, free: 3.039 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.6674, allocations: 332.8 kB / 1.561 GB, free: 2.711 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6677, allocations: 186.4 kB / 1.561 GB, free: 2.527 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.668, allocations: 162 kB / 1.561 GB, free: 2.359 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6681, allocations: 322 kB / 1.562 GB, free: 2.039 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.6693, allocations: 0.4889 MB / 1.562 GB, free: 1.551 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.6706, allocations: 0.6291 MB / 1.563 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/0.673, allocations: 1.094 MB / 1.564 GB, free: 15.76 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.673, allocations: 3.984 kB / 1.564 GB, free: 15.76 MB / 1.264 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0126/0.6856, allocations: 2.756 MB / 1.566 GB, free: 12.99 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.6857, allocations: 11.94 kB / 1.566 GB, free: 12.98 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6857, allocations: 0 / 1.566 GB, free: 12.98 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009746/0.6954, allocations: 1.734 MB / 1.568 GB, free: 11.23 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.6963, allocations: 119.8 kB / 1.568 GB, free: 11.12 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.7101, allocations: 6.868 MB / 1.575 GB, free: 4.008 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.7113, allocations: 44.02 kB / 1.575 GB, free: 3.965 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.7114, allocations: 51.91 kB / 1.575 GB, free: 3.914 MB / 1.264 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.0004512/0.7119, allocations: 205.7 kB / 1.575 GB, free: 3.703 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.7121, allocations: 91.44 kB / 1.575 GB, free: 3.613 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/0.7182, allocations: 1.916 MB / 1.577 GB, free: 1.68 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.7182, allocations: 8 kB / 1.577 GB, free: 1.672 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.7182, allocations: 0 / 1.577 GB, free: 1.672 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.7182, allocations: 11.98 kB / 1.577 GB, free: 1.66 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007647/0.7259, allocations: 2.662 MB / 1.58 GB, free: 14.92 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.7259, allocations: 0 / 1.58 GB, free: 14.92 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/0.7267, allocations: 119.8 kB / 1.58 GB, free: 14.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/0.7302, allocations: 0.8061 MB / 1.581 GB, free: 13.99 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.7304, allocations: 23.98 kB / 1.581 GB, free: 13.96 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.7378, allocations: 4.597 MB / 1.585 GB, free: 9.141 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7378, allocations: 0 / 1.585 GB, free: 9.141 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007064/0.7449, allocations: 2.465 MB / 1.588 GB, free: 6.633 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.7455, allocations: 171.3 kB / 1.588 GB, free: 6.465 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.7457, allocations: 16 kB / 1.588 GB, free: 6.449 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/0.7466, allocations: 47.94 kB / 1.588 GB, free: 6.402 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.7468, allocations: 64.2 kB / 1.588 GB, free: 6.34 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.52e-05/0.7468, allocations: 19.98 kB / 1.588 GB, free: 6.32 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006993/0.7475, allocations: 0.5029 MB / 1.588 GB, free: 5.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.7475, allocations: 0 / 1.588 GB, free: 5.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001098/0.7486, allocations: 303.8 kB / 1.589 GB, free: 5.523 MB / 1.279 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.007559/0.7562, allocations: 3.085 MB / 1.592 GB, free: 2.395 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004557/0.7608, allocations: 1.611 MB / 1.593 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.7608, allocations: 0 / 1.593 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.7631, allocations: 0.9532 MB / 1.594 GB, free: 15.77 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.7654, allocations: 471.1 kB / 1.595 GB, free: 15.31 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/0.7996, allocations: 11.13 MB / 1.606 GB, free: 3.957 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.8001, allocations: 385.4 kB / 1.606 GB, free: 3.555 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008521/0.8009, allocations: 170.7 kB / 1.606 GB, free: 3.383 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.8015, allocations: 299.2 kB / 1.606 GB, free: 3.09 MB / 1.295 GB Notification: Performance of SimCode: time 1.263e-06/0.8015, allocations: 0 / 1.606 GB, free: 3.09 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7233/1.525, allocations: 35.44 MB / 1.641 GB, free: 238.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.74, allocations: 7.328 kB / 1.641 GB, free: 238.4 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.65458834823221]