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.001472/0.001472, allocations: 103 kB / 16.45 MB, free: 6.449 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.001666/0.001666, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.663/1.663, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.625/3.625, allocations: 0.505 GB / 0.8066 GB, free: 23.13 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.002346/0.002346, allocations: 69.16 kB / 1.172 GB, free: 17.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4879, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2689/0.7568, allocations: 196.3 MB / 1.539 GB, free: 4.957 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.007995/0.7648, allocations: 4.225 MB / 1.544 GB, free: 0.7227 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.7661, allocations: 27.75 kB / 1.544 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.7679, allocations: 489 kB / 1.544 GB, free: 220 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.7726, allocations: 1.663 MB / 1.546 GB, free: 14.55 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.7767, allocations: 1.364 MB / 1.547 GB, free: 13.18 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.7797, allocations: 1.678 MB / 1.549 GB, free: 11.5 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.7812, allocations: 0.869 MB / 1.55 GB, free: 10.62 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.784, allocations: 1.129 MB / 1.551 GB, free: 9.484 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.7859, allocations: 0.9307 MB / 1.552 GB, free: 8.551 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.7863, allocations: 107.9 kB / 1.552 GB, free: 8.445 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.7897, allocations: 1.426 MB / 1.553 GB, free: 7.016 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007539/0.7905, allocations: 382.8 kB / 1.553 GB, free: 6.641 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.7917, allocations: 0.5367 MB / 1.554 GB, free: 6.102 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.7962, allocations: 1.729 MB / 1.556 GB, free: 4.367 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7962, allocations: 0 / 1.556 GB, free: 4.367 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7962, allocations: 0 / 1.556 GB, free: 4.367 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.542e-05/0.7962, allocations: 0 / 1.556 GB, free: 4.367 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.003904/0.8001, allocations: 1.287 MB / 1.557 GB, free: 3.023 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.8002, allocations: 11.98 kB / 1.557 GB, free: 3.012 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/0.8004, allocations: 94.52 kB / 1.557 GB, free: 2.91 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.8038, allocations: 430.9 kB / 1.557 GB, free: 2.488 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.8053, allocations: 0.6467 MB / 1.558 GB, free: 1.797 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.8054, allocations: 41 kB / 1.558 GB, free: 1.758 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.8056, allocations: 51.95 kB / 1.558 GB, free: 1.707 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.808, allocations: 1.121 MB / 1.559 GB, free: 0.5195 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.808, allocations: 7.938 kB / 1.559 GB, free: 0.5117 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.8081, allocations: 20 kB / 1.559 GB, free: 0.4922 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.8082, allocations: 35.92 kB / 1.559 GB, free: 468 kB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.8109, allocations: 1.202 MB / 1.56 GB, free: 15.25 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007317/0.8182, allocations: 4.392 MB / 1.565 GB, free: 10.69 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.8205, allocations: 0.8506 MB / 1.566 GB, free: 9.832 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.8218, allocations: 0.576 MB / 1.566 GB, free: 9.254 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006558/0.8225, allocations: 315.7 kB / 1.566 GB, free: 8.891 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.8225, allocations: 39 kB / 1.566 GB, free: 8.84 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002537/0.825, allocations: 0.6283 MB / 1.567 GB, free: 8.211 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 7.113e-06/0.8251, allocations: 4 kB / 1.567 GB, free: 8.207 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.01994/0.845, allocations: 4.122 MB / 1.571 GB, free: 4.031 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.8451, allocations: 63.83 kB / 1.571 GB, free: 3.957 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.8464, allocations: 0.7234 MB / 1.572 GB, free: 3.219 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.8466, allocations: 33.7 kB / 1.572 GB, free: 3.18 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.8469, allocations: 324.9 kB / 1.572 GB, free: 2.859 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.8473, allocations: 186.4 kB / 1.572 GB, free: 2.676 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.8477, allocations: 158 kB / 1.573 GB, free: 2.516 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.8478, allocations: 330 kB / 1.573 GB, free: 2.188 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.8491, allocations: 496.8 kB / 1.573 GB, free: 1.699 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.8504, allocations: 0.5795 MB / 1.574 GB, free: 1.094 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.853, allocations: 1.101 MB / 1.575 GB, free: 15.96 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.853, allocations: 0 / 1.575 GB, free: 15.96 MB / 1.279 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01276/0.8657, allocations: 2.756 MB / 1.578 GB, free: 13.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.8658, allocations: 8 kB / 1.578 GB, free: 13.19 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.8658, allocations: 4 kB / 1.578 GB, free: 13.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009786/0.8756, allocations: 1.734 MB / 1.579 GB, free: 11.44 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.8765, allocations: 123.8 kB / 1.579 GB, free: 11.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.8905, allocations: 7.145 MB / 1.586 GB, free: 3.875 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.8918, allocations: 48 kB / 1.587 GB, free: 3.828 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.8921, allocations: 47.92 kB / 1.587 GB, free: 3.781 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.000664/0.8928, allocations: 201.8 kB / 1.587 GB, free: 3.574 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.8932, allocations: 91.44 kB / 1.587 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006516/0.8997, allocations: 1.913 MB / 1.589 GB, free: 1.555 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.8997, allocations: 8 kB / 1.589 GB, free: 1.547 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.8998, allocations: 4 kB / 1.589 GB, free: 1.543 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.8998, allocations: 3.984 kB / 1.589 GB, free: 1.539 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.908, allocations: 2.854 MB / 1.592 GB, free: 14.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.908, allocations: 0 / 1.592 GB, free: 14.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.9088, allocations: 120 kB / 1.592 GB, free: 14.48 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/0.9123, allocations: 0.7938 MB / 1.592 GB, free: 13.68 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.9124, allocations: 15.98 kB / 1.592 GB, free: 13.66 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008149/0.9206, allocations: 4.864 MB / 1.597 GB, free: 8.523 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9206, allocations: 0 / 1.597 GB, free: 8.523 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007631/0.9282, allocations: 2.459 MB / 1.6 GB, free: 6.023 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.929, allocations: 252.4 kB / 1.6 GB, free: 5.758 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000351/0.9294, allocations: 16 kB / 1.6 GB, free: 5.742 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9306, allocations: 51.94 kB / 1.6 GB, free: 5.691 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.9309, allocations: 52.25 kB / 1.6 GB, free: 5.641 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.9309, allocations: 23.98 kB / 1.6 GB, free: 5.617 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001188/0.9321, allocations: 0.5068 MB / 1.6 GB, free: 5.113 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.9321, allocations: 0 / 1.6 GB, free: 5.113 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001585/0.9337, allocations: 295.8 kB / 1.601 GB, free: 4.824 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.007879/0.9416, allocations: 3.098 MB / 1.604 GB, free: 1.672 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00498/0.9466, allocations: 1.608 MB / 1.605 GB, free: 32 kB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.9466, allocations: 3.938 kB / 1.605 GB, free: 28 kB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.9482/1.895, allocations: 0.9478 MB / 1.606 GB, free: 258.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/1.897, allocations: 471 kB / 1.607 GB, free: 258.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/1.937, allocations: 11.14 MB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.939, allocations: 0.9797 MB / 1.619 GB, free: 254.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001696/1.94, allocations: 171.4 kB / 1.619 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/1.941, allocations: 288.6 kB / 1.619 GB, free: 254 MB / 1.295 GB Notification: Performance of SimCode: time 2.144e-06/1.941, allocations: 0 / 1.619 GB, free: 254 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/2.047, allocations: 31.69 MB / 1.65 GB, free: 241.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/14.64, allocations: 20.64 kB / 1.65 GB, free: 241.2 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: 22.56022339197807]