Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001359/0.001359, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001504/0.001504, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.925/2.925, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.002119/0.002119, allocations: 65.59 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 169.9 MB / 1.283 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.232/0.5741, allocations: 170.4 MB / 1.449 GB, free: 1.477 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007332/0.5815, allocations: 3.784 MB / 1.453 GB, free: 13.69 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.5826, allocations: 31.75 kB / 1.453 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.5842, allocations: 457.1 kB / 1.453 GB, free: 13.21 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.5891, allocations: 1.579 MB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.5935, allocations: 1.385 MB / 1.456 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.5965, allocations: 1.647 MB / 1.458 GB, free: 8.578 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.598, allocations: 0.8378 MB / 1.458 GB, free: 7.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.6002, allocations: 0.9736 MB / 1.459 GB, free: 6.754 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.6022, allocations: 0.8485 MB / 1.46 GB, free: 5.902 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000403/0.6026, allocations: 100 kB / 1.46 GB, free: 5.805 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.6056, allocations: 1.106 MB / 1.461 GB, free: 4.695 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006428/0.6062, allocations: 366.9 kB / 1.462 GB, free: 4.336 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.6072, allocations: 462.2 kB / 1.462 GB, free: 3.883 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.6106, allocations: 1.643 MB / 1.464 GB, free: 2.234 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.6106, allocations: 0 / 1.464 GB, free: 2.234 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6106, allocations: 0 / 1.464 GB, free: 2.234 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.215e-05/0.6107, allocations: 4 kB / 1.464 GB, free: 2.23 MB / 1.154 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.003851/0.6145, allocations: 1.192 MB / 1.465 GB, free: 1.004 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.6146, allocations: 12.03 kB / 1.465 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.6149, allocations: 94.5 kB / 1.465 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.617, allocations: 235.2 kB / 1.465 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.6186, allocations: 0.5538 MB / 1.466 GB, free: 80 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.6186, allocations: 41 kB / 1.466 GB, free: 40 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.6188, allocations: 48.08 kB / 1.466 GB, free: 15.99 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.6209, allocations: 1.054 MB / 1.467 GB, free: 14.85 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.621, allocations: 7.938 kB / 1.467 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.6211, allocations: 24 kB / 1.467 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.738e-05/0.6211, allocations: 31.92 kB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.623, allocations: 1.007 MB / 1.468 GB, free: 13.78 MB / 1.17 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.006491/0.6295, allocations: 3.712 MB / 1.472 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.6306, allocations: 0.5643 MB / 1.472 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009124/0.6315, allocations: 491.9 kB / 1.473 GB, free: 8.891 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009418/0.6325, allocations: 132.3 kB / 1.473 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.249e-05/0.6326, allocations: 39 kB / 1.473 GB, free: 8.711 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002771/0.6353, allocations: 0.6361 MB / 1.473 GB, free: 8.074 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 9.778e-06/0.6353, allocations: 0 / 1.473 GB, free: 8.074 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01858/0.6539, allocations: 3.679 MB / 1.477 GB, free: 4.383 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.654, allocations: 59.84 kB / 1.477 GB, free: 4.312 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.6556, allocations: 0.7155 MB / 1.478 GB, free: 3.59 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.6559, allocations: 33.7 kB / 1.478 GB, free: 3.551 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.6563, allocations: 317 kB / 1.478 GB, free: 3.238 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005034/0.6568, allocations: 190.3 kB / 1.478 GB, free: 3.051 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/0.6573, allocations: 146 kB / 1.478 GB, free: 2.902 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.6575, allocations: 330 kB / 1.479 GB, free: 2.574 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/0.6584, allocations: 396.8 kB / 1.479 GB, free: 2.188 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.6593, allocations: 0.5237 MB / 1.48 GB, free: 1.629 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.6612, allocations: 0.9219 MB / 1.481 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.6612, allocations: 3.938 kB / 1.481 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01183/0.6731, allocations: 2.557 MB / 1.483 GB, free: 14.1 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.6731, allocations: 8 kB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6731, allocations: 0 / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009577/0.6827, allocations: 1.73 MB / 1.485 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.6832, allocations: 95.86 kB / 1.485 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/0.697, allocations: 6.867 MB / 1.492 GB, free: 5.152 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.6979, allocations: 20.17 kB / 1.492 GB, free: 5.133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.6981, allocations: 51.92 kB / 1.492 GB, free: 5.082 MB / 1.186 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.0006013/0.6987, allocations: 208.8 kB / 1.492 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.6991, allocations: 83.48 kB / 1.492 GB, free: 4.789 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/0.7048, allocations: 1.736 MB / 1.494 GB, free: 3.027 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.7048, allocations: 4 kB / 1.494 GB, free: 3.023 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.7048, allocations: 4 kB / 1.494 GB, free: 3.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7048, allocations: 3.984 kB / 1.494 GB, free: 3.016 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/0.7115, allocations: 2.382 MB / 1.496 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7115, allocations: 0 / 1.496 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.712, allocations: 92.08 kB / 1.496 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/0.7155, allocations: 0.7977 MB / 1.497 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/0.7156, allocations: 16 kB / 1.497 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007746/0.7234, allocations: 4.606 MB / 1.501 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.7234, allocations: 11.94 kB / 1.501 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.7293, allocations: 2.138 MB / 1.503 GB, free: 8.621 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/0.73, allocations: 159.4 kB / 1.504 GB, free: 8.465 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.7303, allocations: 15.94 kB / 1.504 GB, free: 8.449 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/0.7311, allocations: 19.98 kB / 1.504 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.7313, allocations: 52.34 kB / 1.504 GB, free: 8.379 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.7313, allocations: 20 kB / 1.504 GB, free: 8.359 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007999/0.7321, allocations: 0.499 MB / 1.504 GB, free: 7.867 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7321, allocations: 3.938 kB / 1.504 GB, free: 7.863 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001256/0.7334, allocations: 295.7 kB / 1.504 GB, free: 7.574 MB / 1.201 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.006449/0.7398, allocations: 2.788 MB / 1.507 GB, free: 4.734 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003994/0.7438, allocations: 1.402 MB / 1.509 GB, free: 3.305 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7438, allocations: 0 / 1.509 GB, free: 3.305 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.7459, allocations: 0.8673 MB / 1.509 GB, free: 2.41 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.7485, allocations: 454.8 kB / 1.51 GB, free: 1.969 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/0.7819, allocations: 10.43 MB / 1.52 GB, free: 7.344 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.7825, allocations: 389.3 kB / 1.52 GB, free: 6.938 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008319/0.7833, allocations: 162.6 kB / 1.521 GB, free: 6.773 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.7839, allocations: 279.3 kB / 1.521 GB, free: 6.5 MB / 1.217 GB Notification: Performance of SimCode: time 1.352e-06/0.7839, allocations: 4 kB / 1.521 GB, free: 6.496 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09371/0.8776, allocations: 32.9 MB / 1.553 GB, free: 6.203 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.19, allocations: 7.875 kB / 1.553 GB, free: 6.199 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.148167965002358]