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.001337/0.001337, allocations: 108.3 kB / 16.46 MB, free: 6.453 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.001455/0.001455, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.102/3.102, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.002161/0.002161, allocations: 68.67 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3928, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2549/0.6477, allocations: 196.3 MB / 1.512 GB, free: 14.31 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008125/0.6558, allocations: 4.034 MB / 1.516 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.6571, allocations: 27.75 kB / 1.516 GB, free: 10.24 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.6589, allocations: 493 kB / 1.517 GB, free: 9.758 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.6637, allocations: 1.583 MB / 1.518 GB, free: 8.168 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.6679, allocations: 1.367 MB / 1.52 GB, free: 6.801 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.671, allocations: 1.624 MB / 1.521 GB, free: 5.172 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.6726, allocations: 0.8689 MB / 1.522 GB, free: 4.289 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.6753, allocations: 1.102 MB / 1.523 GB, free: 3.184 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.6772, allocations: 0.9073 MB / 1.524 GB, free: 2.273 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.6776, allocations: 100 kB / 1.524 GB, free: 2.176 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.6809, allocations: 1.383 MB / 1.526 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.6816, allocations: 362.9 kB / 1.526 GB, free: 444 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.6829, allocations: 0.5211 MB / 1.526 GB, free: 15.91 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.687, allocations: 1.67 MB / 1.528 GB, free: 14.23 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.687, allocations: 4 kB / 1.528 GB, free: 14.23 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.206e-06/0.687, allocations: 0 / 1.528 GB, free: 14.23 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.835e-05/0.6871, allocations: 0 / 1.528 GB, free: 14.23 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.003883/0.691, allocations: 1.264 MB / 1.529 GB, free: 12.91 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.691, allocations: 11.98 kB / 1.529 GB, free: 12.9 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.6912, allocations: 94.52 kB / 1.529 GB, free: 12.8 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.693, allocations: 239.2 kB / 1.53 GB, free: 12.57 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.6943, allocations: 0.6272 MB / 1.53 GB, free: 11.89 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.6944, allocations: 37 kB / 1.53 GB, free: 11.86 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.6945, allocations: 48 kB / 1.53 GB, free: 11.81 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.6965, allocations: 1.008 MB / 1.531 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6965, allocations: 0 / 1.531 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/0.6966, allocations: 24 kB / 1.531 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.6966, allocations: 35.92 kB / 1.531 GB, free: 10.68 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.6986, allocations: 1.007 MB / 1.532 GB, free: 9.668 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00662/0.7052, allocations: 4.133 MB / 1.536 GB, free: 5.363 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.7064, allocations: 0.5568 MB / 1.537 GB, free: 4.793 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.7072, allocations: 485.9 kB / 1.537 GB, free: 4.316 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.7085, allocations: 0.8861 MB / 1.538 GB, free: 3.246 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.7086, allocations: 35 kB / 1.538 GB, free: 3.203 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002501/0.7111, allocations: 0.6361 MB / 1.539 GB, free: 2.566 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 6.322e-06/0.7111, allocations: 0 / 1.539 GB, free: 2.566 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01926/0.7303, allocations: 3.83 MB / 1.543 GB, free: 14.68 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.7304, allocations: 55.84 kB / 1.543 GB, free: 14.62 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.7318, allocations: 0.7155 MB / 1.543 GB, free: 13.89 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.732, allocations: 37.64 kB / 1.543 GB, free: 13.85 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.7323, allocations: 320.9 kB / 1.544 GB, free: 13.53 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.7327, allocations: 194.3 kB / 1.544 GB, free: 13.34 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.7331, allocations: 154.1 kB / 1.544 GB, free: 13.18 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.7333, allocations: 322 kB / 1.544 GB, free: 12.86 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.7341, allocations: 392.9 kB / 1.545 GB, free: 12.48 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/0.735, allocations: 493.5 kB / 1.545 GB, free: 11.97 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.7367, allocations: 0.918 MB / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.7368, allocations: 0 / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01226/0.749, allocations: 2.557 MB / 1.549 GB, free: 8.449 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.749, allocations: 12.12 kB / 1.549 GB, free: 8.438 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7491, allocations: 0 / 1.549 GB, free: 8.438 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.7591, allocations: 1.734 MB / 1.55 GB, free: 6.695 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.7597, allocations: 95.86 kB / 1.55 GB, free: 6.602 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.7743, allocations: 7.149 MB / 1.557 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.7753, allocations: 12 kB / 1.557 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.7755, allocations: 47.92 kB / 1.558 GB, free: 15.1 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.0005705/0.7761, allocations: 205.8 kB / 1.558 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.7764, allocations: 83.48 kB / 1.558 GB, free: 14.8 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/0.7821, allocations: 1.726 MB / 1.559 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.7822, allocations: 8 kB / 1.559 GB, free: 13.05 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.7822, allocations: 7.984 kB / 1.559 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.7822, allocations: 0 / 1.559 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006911/0.7891, allocations: 2.532 MB / 1.562 GB, free: 10.43 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7891, allocations: 0 / 1.562 GB, free: 10.43 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.7896, allocations: 87.89 kB / 1.562 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003603/0.7932, allocations: 0.8056 MB / 1.563 GB, free: 9.535 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.7933, allocations: 20 kB / 1.563 GB, free: 9.516 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00791/0.8012, allocations: 4.86 MB / 1.568 GB, free: 4.375 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8012, allocations: 0 / 1.568 GB, free: 4.375 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/0.8071, allocations: 2.144 MB / 1.57 GB, free: 2.191 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.8077, allocations: 232.5 kB / 1.57 GB, free: 1.945 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8079, allocations: 16 kB / 1.57 GB, free: 1.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.8086, allocations: 19.98 kB / 1.57 GB, free: 1.91 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.8088, allocations: 56.42 kB / 1.57 GB, free: 1.855 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.8089, allocations: 20 kB / 1.57 GB, free: 1.836 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008062/0.8097, allocations: 0.4951 MB / 1.571 GB, free: 1.348 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.8097, allocations: 0 / 1.571 GB, free: 1.348 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001218/0.8109, allocations: 291.8 kB / 1.571 GB, free: 1.062 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.006526/0.8175, allocations: 2.796 MB / 1.574 GB, free: 14.21 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004204/0.8217, allocations: 1.413 MB / 1.575 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8217, allocations: 0 / 1.575 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.8238, allocations: 0.8599 MB / 1.576 GB, free: 11.88 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.8265, allocations: 460.3 kB / 1.576 GB, free: 11.43 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/0.8612, allocations: 10.43 MB / 1.586 GB, free: 0.832 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009475/0.8622, allocations: 0.9789 MB / 1.587 GB, free: 15.82 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000829/0.863, allocations: 162.6 kB / 1.587 GB, free: 15.66 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/0.8636, allocations: 287.3 kB / 1.588 GB, free: 15.38 MB / 1.295 GB Notification: Performance of SimCode: time 1.253e-06/0.8636, allocations: 0 / 1.588 GB, free: 15.38 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7957/1.659, allocations: 29.78 MB / 1.617 GB, free: 276.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/13.24, allocations: 11.25 kB / 1.617 GB, free: 276.9 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.86278783599846]