Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.00141/0.00141, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009767/0.0009767, allocations: 185 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9291/0.9291, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.211e-05, allocations: 2.969 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1243/0.1243, allocations: 143.4 MB / 0.952 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1257, allocations: 0.8471 MB / 0.9529 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.1259, allocations: 11.88 kB / 0.9529 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1262, allocations: 79.34 kB / 0.953 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.1269, allocations: 334.2 kB / 0.9533 GB, free: 312 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.1274, allocations: 291.3 kB / 0.9535 GB, free: 20 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.1281, allocations: 0.5494 MB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1283, allocations: 173.4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.1287, allocations: 295.3 kB / 0.9545 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1289, allocations: 175.5 kB / 0.9547 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.129, allocations: 16 kB / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1291, allocations: 83.91 kB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1292, allocations: 95.67 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.1292, allocations: 83.83 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1295, allocations: 235.2 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1295, allocations: 0 / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1295, allocations: 0 / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1295, allocations: 7.938 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005123/0.13, allocations: 0.5617 MB / 0.9557 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.13, allocations: 12.03 kB / 0.9558 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.1301, allocations: 36.8 kB / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1303, allocations: 237 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1303, allocations: 12.38 kB / 0.956 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1304, allocations: 24.36 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1306, allocations: 242.6 kB / 0.9563 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1306, allocations: 3.938 kB / 0.9563 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1306, allocations: 8 kB / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1306, allocations: 8 kB / 0.9563 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.1307, allocations: 51.83 kB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.1315, allocations: 1.684 MB / 0.958 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1317, allocations: 190.7 kB / 0.9582 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.1317, allocations: 78.05 kB / 0.9583 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.1319, allocations: 35.95 kB / 0.9583 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1319, allocations: 37.39 kB / 0.9583 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1319, allocations: 0 / 0.9583 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002149/0.1321, allocations: 121.9 kB / 0.9584 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1322, allocations: 187.9 kB / 0.9586 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1323, allocations: 254.4 kB / 0.9589 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1323, allocations: 29.7 kB / 0.9589 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.1324, allocations: 214.9 kB / 0.9591 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1324, allocations: 35.69 kB / 0.9591 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.1324, allocations: 39.36 kB / 0.9592 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1326, allocations: 0.5001 MB / 0.9597 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.1326, allocations: 8 kB / 0.9597 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.1327, allocations: 204 kB / 0.9599 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.1327, allocations: 117.7 kB / 0.96 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1328, allocations: 0 / 0.96 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001194/0.1329, allocations: 125.5 kB / 0.9601 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1329, allocations: 11.94 kB / 0.9601 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1329, allocations: 4 kB / 0.9601 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1329, allocations: 8.031 kB / 0.9601 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.133, allocations: 23.98 kB / 0.9601 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.133, allocations: 11.92 kB / 0.9601 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.133, allocations: 19.89 kB / 0.9602 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1331, allocations: 4 kB / 0.9602 GB, free: 8.723 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/0.1331, allocations: 160.6 kB / 0.9603 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.1332, allocations: 23.84 kB / 0.9603 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1334, allocations: 94.7 kB / 0.9604 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1334, allocations: 4 kB / 0.9604 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1334, allocations: 0 / 0.9604 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1334, allocations: 0 / 0.9604 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.1339, allocations: 0.8758 MB / 0.9613 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1339, allocations: 0 / 0.9613 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.134, allocations: 19.98 kB / 0.9613 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.134, allocations: 4 kB / 0.9613 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.134, allocations: 8.156 kB / 0.9613 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.134, allocations: 0 / 0.9613 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.134, allocations: 4 kB / 0.9613 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1342, allocations: 294.2 kB / 0.9616 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1342, allocations: 31.84 kB / 0.9616 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1342, allocations: 0 / 0.9616 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.1343, allocations: 11.98 kB / 0.9617 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1343, allocations: 11.92 kB / 0.9617 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1343, allocations: 4 kB / 0.9617 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.1344, allocations: 176.5 kB / 0.9618 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1344, allocations: 4.031 kB / 0.9618 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002262/0.1346, allocations: 63.83 kB / 0.9619 GB, free: 6.836 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/0.1348, allocations: 127.1 kB / 0.962 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1349, allocations: 67.47 kB / 0.9621 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1349, allocations: 3.938 kB / 0.9621 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.1349, allocations: 32.17 kB / 0.9621 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1352, allocations: 74.56 kB / 0.9622 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.1358, allocations: 453.7 kB / 0.9626 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.1359, allocations: 87.97 kB / 0.9627 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.88e-05/0.136, allocations: 25.73 kB / 0.9627 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1361, allocations: 122.1 kB / 0.9628 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.1361, allocations: 3.938 kB / 0.9629 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of Templates: time 0.004826/0.1409, allocations: 2.98 MB / 0.9658 GB, free: 2.867 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.272106538992375]