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.0008855/0.0008855, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002123, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007097/0.0007097, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009565/0.001666, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9666/0.9666, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09721/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.82/1.82, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5137/2.334, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.493e-06/1.493e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.849e-05, allocations: 8.5 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1439/0.144, allocations: 145.9 MB / 0.8722 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1454, allocations: 0.8759 MB / 0.8731 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1455, allocations: 15.88 kB / 0.8731 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.1458, allocations: 71.42 kB / 0.8731 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.1465, allocations: 334.1 kB / 0.8735 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.147, allocations: 279.3 kB / 0.8737 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.1475, allocations: 0.5494 MB / 0.8743 GB, free: 12 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1478, allocations: 159.4 kB / 0.8744 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.1482, allocations: 307.2 kB / 0.8747 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1484, allocations: 167.5 kB / 0.8749 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1484, allocations: 16 kB / 0.8749 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1486, allocations: 87.84 kB / 0.875 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.1487, allocations: 79.77 kB / 0.875 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.1488, allocations: 67.88 kB / 0.8751 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1491, allocations: 207.3 kB / 0.8753 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.1491, allocations: 4 kB / 0.8753 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1491, allocations: 0 / 0.8753 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.1491, allocations: 4 kB / 0.8753 GB, free: 14.94 MB / 0.8542 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.0005759/0.1497, allocations: 499.2 kB / 0.8758 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1497, allocations: 8.031 kB / 0.8758 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.1498, allocations: 36.91 kB / 0.8758 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.15, allocations: 226.1 kB / 0.876 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1501, allocations: 16.38 kB / 0.8761 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1501, allocations: 16.38 kB / 0.8761 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1503, allocations: 217.3 kB / 0.8763 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1503, allocations: 0 / 0.8763 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1504, allocations: 12 kB / 0.8763 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1504, allocations: 4 kB / 0.8763 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.1505, allocations: 72.81 kB / 0.8764 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.1512, allocations: 1.17 MB / 0.8775 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1514, allocations: 315.4 kB / 0.8778 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.1515, allocations: 68.39 kB / 0.8779 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.1516, allocations: 31.95 kB / 0.8779 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1517, allocations: 42.5 kB / 0.8779 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1517, allocations: 0 / 0.8779 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0002443/0.1519, allocations: 97.47 kB / 0.878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.152, allocations: 180.5 kB / 0.8782 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1521, allocations: 203.2 kB / 0.8784 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1521, allocations: 25.7 kB / 0.8784 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1522, allocations: 144.2 kB / 0.8786 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1522, allocations: 43.67 kB / 0.8786 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1522, allocations: 37.69 kB / 0.8786 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.1523, allocations: 326.8 kB / 0.879 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.1523, allocations: 14.81 kB / 0.879 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1524, allocations: 189.6 kB / 0.8792 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.1525, allocations: 91.27 kB / 0.8792 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1525, allocations: 0 / 0.8792 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001295/0.1527, allocations: 107.1 kB / 0.8793 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1527, allocations: 8 kB / 0.8794 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1527, allocations: 224 / 0.8794 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1527, allocations: 8 kB / 0.8794 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1528, allocations: 39.86 kB / 0.8794 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1528, allocations: 7.984 kB / 0.8794 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.1529, allocations: 8.266 kB / 0.8794 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1529, allocations: 12 kB / 0.8794 GB, free: 10.3 MB / 0.8542 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.296e-05/0.153, allocations: 128.5 kB / 0.8795 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.153, allocations: 15.92 kB / 0.8796 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1532, allocations: 78.81 kB / 0.8796 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1532, allocations: 4 kB / 0.8796 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1532, allocations: 4 kB / 0.8796 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1532, allocations: 4 kB / 0.8796 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.1537, allocations: 0.6503 MB / 0.8803 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1537, allocations: 4 kB / 0.8803 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.1538, allocations: 19.98 kB / 0.8803 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1538, allocations: 19.84 kB / 0.8803 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1538, allocations: 4 kB / 0.8803 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1538, allocations: 3.984 kB / 0.8803 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1539, allocations: 12.09 kB / 0.8803 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1539, allocations: 0 / 0.8803 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.154, allocations: 281.7 kB / 0.8806 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.154, allocations: 0 / 0.8806 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.1541, allocations: 11.98 kB / 0.8806 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1542, allocations: 11.92 kB / 0.8806 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1542, allocations: 4 kB / 0.8806 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.1542, allocations: 62.14 kB / 0.8807 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1542, allocations: 0 / 0.8807 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002595/0.1545, allocations: 59.89 kB / 0.8808 GB, free: 8.828 MB / 0.8542 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.0001746/0.1546, allocations: 112.3 kB / 0.8809 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1548, allocations: 60.7 kB / 0.8809 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.1548, allocations: 4 kB / 0.8809 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.1548, allocations: 41.75 kB / 0.881 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1553, allocations: 463.4 kB / 0.8814 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1571, allocations: 436.8 kB / 0.8818 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.1572, allocations: 91.83 kB / 0.8819 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.1573, allocations: 17.48 kB / 0.8819 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1574, allocations: 103.3 kB / 0.882 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.1574, allocations: 0 / 0.882 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.004829/0.1622, allocations: 3.043 MB / 0.885 GB, free: 4.402 MB / 0.8542 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.04204973205924]