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.001582/0.001582, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001877/0.001877, allocations: 214.5 kB / 22.24 MB, free: 5.254 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.82 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.029/3.029, allocations: 0.49 GB / 0.7951 GB, free: 35.61 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.002208/0.002208, allocations: 66.48 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3336, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1986/0.5323, allocations: 170.5 MB / 1.492 GB, free: 6.406 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00655/0.5388, allocations: 3.785 MB / 1.496 GB, free: 2.613 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.5397, allocations: 27.81 kB / 1.496 GB, free: 2.586 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.541, allocations: 457 kB / 1.496 GB, free: 2.137 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.5449, allocations: 1.553 MB / 1.498 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.5484, allocations: 1.403 MB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.5506, allocations: 1.631 MB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5517, allocations: 0.8422 MB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.5539, allocations: 1.129 MB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.5552, allocations: 0.9112 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.5554, allocations: 96 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.5576, allocations: 1.102 MB / 1.505 GB, free: 9.438 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.558, allocations: 366.9 kB / 1.505 GB, free: 9.078 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.5585, allocations: 462.2 kB / 1.506 GB, free: 8.625 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.5609, allocations: 1.643 MB / 1.507 GB, free: 6.977 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5609, allocations: 0 / 1.507 GB, free: 6.977 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5609, allocations: 0 / 1.507 GB, free: 6.977 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.561, allocations: 0 / 1.507 GB, free: 6.977 MB / 1.201 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.002522/0.5635, allocations: 1.192 MB / 1.509 GB, free: 5.746 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5635, allocations: 12.03 kB / 1.509 GB, free: 5.734 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.5636, allocations: 90.52 kB / 1.509 GB, free: 5.637 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.5651, allocations: 239.2 kB / 1.509 GB, free: 5.402 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.5661, allocations: 0.5538 MB / 1.509 GB, free: 4.816 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.5662, allocations: 37 kB / 1.509 GB, free: 4.781 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.5663, allocations: 48 kB / 1.509 GB, free: 4.734 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.5679, allocations: 1.054 MB / 1.51 GB, free: 3.602 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.5679, allocations: 7.922 kB / 1.51 GB, free: 3.594 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.568, allocations: 31.94 kB / 1.511 GB, free: 3.562 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.568, allocations: 23.94 kB / 1.511 GB, free: 3.539 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.5696, allocations: 1.007 MB / 1.512 GB, free: 2.531 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.5747, allocations: 3.712 MB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.5757, allocations: 0.5649 MB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.5765, allocations: 484.4 kB / 1.516 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006691/0.5771, allocations: 136.3 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5772, allocations: 43 kB / 1.516 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002175/0.5793, allocations: 0.6322 MB / 1.517 GB, free: 12.83 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.257e-06/0.5793, allocations: 0 / 1.517 GB, free: 12.83 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01672/0.5961, allocations: 3.671 MB / 1.521 GB, free: 9.145 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5961, allocations: 63.84 kB / 1.521 GB, free: 9.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.5972, allocations: 0.7194 MB / 1.521 GB, free: 8.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.5974, allocations: 33.64 kB / 1.521 GB, free: 8.301 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.5976, allocations: 320.9 kB / 1.522 GB, free: 7.984 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.5979, allocations: 194.3 kB / 1.522 GB, free: 7.793 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.5981, allocations: 150 kB / 1.522 GB, free: 7.641 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5983, allocations: 322 kB / 1.522 GB, free: 7.32 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.5989, allocations: 392.8 kB / 1.523 GB, free: 6.938 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.5997, allocations: 0.5276 MB / 1.523 GB, free: 6.371 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.6012, allocations: 0.918 MB / 1.524 GB, free: 5.426 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6012, allocations: 4 kB / 1.524 GB, free: 5.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01083/0.6121, allocations: 2.56 MB / 1.527 GB, free: 2.844 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.6121, allocations: 8 kB / 1.527 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6121, allocations: 0 / 1.527 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009145/0.6212, allocations: 1.726 MB / 1.528 GB, free: 1.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.6217, allocations: 95.86 kB / 1.528 GB, free: 1.008 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.6341, allocations: 6.872 MB / 1.535 GB, free: 9.895 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/0.6348, allocations: 16.06 kB / 1.535 GB, free: 9.879 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.6349, allocations: 52 kB / 1.535 GB, free: 9.828 MB / 1.233 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.00039/0.6353, allocations: 205.7 kB / 1.535 GB, free: 9.617 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.6355, allocations: 83.48 kB / 1.535 GB, free: 9.535 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.6403, allocations: 1.732 MB / 1.537 GB, free: 7.781 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.6403, allocations: 8 kB / 1.537 GB, free: 7.773 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6404, allocations: 8 kB / 1.537 GB, free: 7.766 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6404, allocations: 7.969 kB / 1.537 GB, free: 7.758 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.646, allocations: 2.386 MB / 1.539 GB, free: 5.297 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.646, allocations: 4 kB / 1.539 GB, free: 5.293 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.6465, allocations: 88.14 kB / 1.54 GB, free: 5.207 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.6496, allocations: 0.8017 MB / 1.54 GB, free: 4.398 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.6497, allocations: 16 kB / 1.54 GB, free: 4.383 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.6564, allocations: 4.609 MB / 1.545 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.6564, allocations: 3.938 kB / 1.545 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005036/0.6614, allocations: 2.142 MB / 1.547 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.6619, allocations: 155.4 kB / 1.547 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.662, allocations: 16 kB / 1.547 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.6625, allocations: 23.98 kB / 1.547 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.6627, allocations: 56.28 kB / 1.547 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.6627, allocations: 20 kB / 1.547 GB, free: 13.09 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006347/0.6634, allocations: 0.5029 MB / 1.548 GB, free: 12.6 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6634, allocations: 0 / 1.548 GB, free: 12.6 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000893/0.6643, allocations: 283.8 kB / 1.548 GB, free: 12.32 MB / 1.248 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.005526/0.6698, allocations: 2.796 MB / 1.551 GB, free: 9.473 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.6732, allocations: 1.41 MB / 1.552 GB, free: 8.035 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6732, allocations: 3.938 kB / 1.552 GB, free: 8.031 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.6749, allocations: 0.8636 MB / 1.553 GB, free: 7.137 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.6769, allocations: 447.3 kB / 1.553 GB, free: 6.695 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/0.7057, allocations: 10.44 MB / 1.564 GB, free: 12.08 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.7062, allocations: 389.3 kB / 1.564 GB, free: 11.68 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007007/0.7069, allocations: 166.6 kB / 1.564 GB, free: 11.51 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.7073, allocations: 283.3 kB / 1.564 GB, free: 11.23 MB / 1.264 GB Notification: Performance of SimCode: time 7.81e-07/0.7073, allocations: 0 / 1.564 GB, free: 11.23 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07371/0.781, allocations: 33.08 MB / 1.597 GB, free: 10.74 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.73, allocations: 3.984 kB / 1.597 GB, free: 10.73 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.87640807099524]