Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00145/0.00145, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001547/0.001547, allocations: 215 kB / 22.25 MB, free: 5.125 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.062/3.062, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_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.001954/0.001954, allocations: 67 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3382, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2262/0.5644, allocations: 196.7 MB / 1.518 GB, free: 12.56 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006884/0.5713, allocations: 4.046 MB / 1.522 GB, free: 8.508 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00085/0.5721, allocations: 35.69 kB / 1.522 GB, free: 8.473 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5735, allocations: 485 kB / 1.522 GB, free: 7.996 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.5777, allocations: 1.601 MB / 1.524 GB, free: 6.391 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.5815, allocations: 1.411 MB / 1.525 GB, free: 4.98 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.584, allocations: 1.635 MB / 1.527 GB, free: 3.34 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.5852, allocations: 0.8499 MB / 1.528 GB, free: 2.477 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.5872, allocations: 1.106 MB / 1.529 GB, free: 1.367 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.5884, allocations: 0.9112 MB / 1.53 GB, free: 464 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.5886, allocations: 100 kB / 1.53 GB, free: 364 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.5913, allocations: 1.395 MB / 1.531 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.5917, allocations: 374.9 kB / 1.532 GB, free: 14.59 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.5922, allocations: 0.5172 MB / 1.532 GB, free: 14.07 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.5945, allocations: 1.67 MB / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5945, allocations: 0 / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5945, allocations: 4 kB / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5946, allocations: 0 / 1.534 GB, free: 12.39 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.002563/0.5971, allocations: 1.185 MB / 1.535 GB, free: 11.17 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5972, allocations: 12.03 kB / 1.535 GB, free: 11.16 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.5973, allocations: 90.52 kB / 1.535 GB, free: 11.06 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.5988, allocations: 247.2 kB / 1.535 GB, free: 10.82 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5998, allocations: 0.5537 MB / 1.536 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.5998, allocations: 37 kB / 1.536 GB, free: 10.2 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.6, allocations: 52 kB / 1.536 GB, free: 10.14 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.6016, allocations: 0.9999 MB / 1.537 GB, free: 9.078 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.6016, allocations: 4 kB / 1.537 GB, free: 9.074 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6017, allocations: 27.98 kB / 1.537 GB, free: 9.047 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.6017, allocations: 27.88 kB / 1.537 GB, free: 9.02 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.6035, allocations: 1.003 MB / 1.538 GB, free: 8.016 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/0.609, allocations: 4.102 MB / 1.542 GB, free: 3.75 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.61, allocations: 0.5548 MB / 1.542 GB, free: 3.184 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/0.6108, allocations: 484.3 kB / 1.543 GB, free: 2.707 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.6115, allocations: 144.3 kB / 1.543 GB, free: 2.566 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6116, allocations: 42.94 kB / 1.543 GB, free: 2.516 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002235/0.6138, allocations: 0.6322 MB / 1.544 GB, free: 1.883 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 2.385e-06/0.6138, allocations: 4 kB / 1.544 GB, free: 1.879 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01754/0.6313, allocations: 3.675 MB / 1.547 GB, free: 14.18 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.6314, allocations: 59.78 kB / 1.547 GB, free: 14.11 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.6324, allocations: 0.7116 MB / 1.548 GB, free: 13.39 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.6325, allocations: 33.7 kB / 1.548 GB, free: 13.35 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.6329, allocations: 320.9 kB / 1.548 GB, free: 13.04 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.6331, allocations: 186.3 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.6333, allocations: 150 kB / 1.549 GB, free: 12.7 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6335, allocations: 329.9 kB / 1.549 GB, free: 12.38 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.6342, allocations: 396.8 kB / 1.549 GB, free: 11.99 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/0.635, allocations: 488.9 kB / 1.55 GB, free: 11.48 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.6366, allocations: 0.9258 MB / 1.551 GB, free: 10.53 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6366, allocations: 0 / 1.551 GB, free: 10.53 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01126/0.6478, allocations: 2.541 MB / 1.553 GB, free: 7.973 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.6479, allocations: 8 kB / 1.553 GB, free: 7.965 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6479, allocations: 7.938 kB / 1.553 GB, free: 7.957 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009302/0.6572, allocations: 1.741 MB / 1.555 GB, free: 6.207 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.6577, allocations: 91.8 kB / 1.555 GB, free: 6.117 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.6708, allocations: 6.939 MB / 1.562 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.6717, allocations: 20.05 kB / 1.562 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.6718, allocations: 47.92 kB / 1.562 GB, free: 14.87 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.0004258/0.6722, allocations: 205.7 kB / 1.562 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.6724, allocations: 87.42 kB / 1.562 GB, free: 14.57 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/0.6776, allocations: 1.728 MB / 1.564 GB, free: 12.82 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6776, allocations: 12 kB / 1.564 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.6776, allocations: 8 kB / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6776, allocations: 3.984 kB / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.6838, allocations: 2.506 MB / 1.566 GB, free: 10.22 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6838, allocations: 7.984 kB / 1.566 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.6842, allocations: 91.83 kB / 1.566 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.6876, allocations: 0.7861 MB / 1.567 GB, free: 9.328 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.6876, allocations: 19.98 kB / 1.567 GB, free: 9.309 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007232/0.6949, allocations: 4.649 MB / 1.572 GB, free: 4.43 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.6949, allocations: 4 kB / 1.572 GB, free: 4.426 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.7003, allocations: 2.138 MB / 1.574 GB, free: 2.246 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.7009, allocations: 159.3 kB / 1.574 GB, free: 2.09 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.701, allocations: 12 kB / 1.574 GB, free: 2.078 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/0.7015, allocations: 23.98 kB / 1.574 GB, free: 2.055 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.7017, allocations: 56.34 kB / 1.574 GB, free: 2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.7017, allocations: 24.11 kB / 1.574 GB, free: 1.977 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006747/0.7024, allocations: 0.4951 MB / 1.575 GB, free: 1.488 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7024, allocations: 0 / 1.575 GB, free: 1.488 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009545/0.7034, allocations: 295.8 kB / 1.575 GB, free: 1.199 MB / 1.264 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 (49): * Single equations (assignments): 47 * 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.005949/0.7093, allocations: 2.794 MB / 1.578 GB, free: 14.36 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.7129, allocations: 1.421 MB / 1.579 GB, free: 12.91 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7129, allocations: 0 / 1.579 GB, free: 12.91 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.7147, allocations: 0.8558 MB / 1.58 GB, free: 12.02 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.7167, allocations: 450.9 kB / 1.58 GB, free: 11.58 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/0.7473, allocations: 10.44 MB / 1.59 GB, free: 0.9648 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/0.748, allocations: 0.9867 MB / 1.591 GB, free: 15.95 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008724/0.7489, allocations: 162.6 kB / 1.591 GB, free: 15.79 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.7494, allocations: 283.3 kB / 1.592 GB, free: 15.51 MB / 1.295 GB Notification: Performance of SimCode: time 1.733e-06/0.7494, allocations: 0 / 1.592 GB, free: 15.51 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7228/1.472, allocations: 30.46 MB / 1.622 GB, free: 275.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/14.06, allocations: 11.98 kB / 1.622 GB, free: 275.4 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.637577658999362]