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.0007739/0.0007739, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.001971, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007311/0.0007311, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001744, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9897/0.9897, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08773/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.799/1.799, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4802/2.279, allocations: 123.3 MB / 0.728 GB, free: 5.805 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 3.236e-06/3.236e-06, allocations: 4 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.376e-05, allocations: 4.703 kB / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1455/0.1456, allocations: 145.9 MB / 0.8719 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1473, allocations: 0.8785 MB / 0.8727 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.1475, allocations: 11.88 kB / 0.8727 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.1477, allocations: 71.42 kB / 0.8728 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007745/0.1485, allocations: 334.2 kB / 0.8731 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.1492, allocations: 287.2 kB / 0.8734 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.1498, allocations: 0.5494 MB / 0.8739 GB, free: 96 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.1501, allocations: 163.4 kB / 0.8741 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.1506, allocations: 306 kB / 0.8744 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1508, allocations: 159.6 kB / 0.8745 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.1509, allocations: 19.94 kB / 0.8746 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1511, allocations: 87.84 kB / 0.8746 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.1512, allocations: 75.77 kB / 0.8747 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.1512, allocations: 71.88 kB / 0.8748 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.1516, allocations: 219.3 kB / 0.875 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.1516, allocations: 0 / 0.875 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1516, allocations: 0 / 0.875 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.1516, allocations: 0 / 0.875 GB, free: 15.02 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.00064/0.1523, allocations: 491.2 kB / 0.8755 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1523, allocations: 12.03 kB / 0.8755 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.1524, allocations: 28.92 kB / 0.8755 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1526, allocations: 226.1 kB / 0.8757 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1527, allocations: 24.28 kB / 0.8757 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.1527, allocations: 20.38 kB / 0.8758 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.153, allocations: 217.3 kB / 0.876 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.153, allocations: 0 / 0.876 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.153, allocations: 4 kB / 0.876 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.153, allocations: 11.98 kB / 0.876 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.1531, allocations: 72.81 kB / 0.8761 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.154, allocations: 1.173 MB / 0.8772 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1542, allocations: 307.4 kB / 0.8775 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1543, allocations: 68.41 kB / 0.8776 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.1545, allocations: 31.95 kB / 0.8776 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1545, allocations: 42.5 kB / 0.8776 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.1545, allocations: 0 / 0.8776 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0002506/0.1547, allocations: 90.06 kB / 0.8777 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.1548, allocations: 192 kB / 0.8779 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1549, allocations: 199.2 kB / 0.8781 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.155, allocations: 25.7 kB / 0.8781 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.155, allocations: 148.2 kB / 0.8783 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1551, allocations: 35.69 kB / 0.8783 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.1551, allocations: 37.69 kB / 0.8783 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.1552, allocations: 326.8 kB / 0.8786 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.1552, allocations: 14.81 kB / 0.8786 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1554, allocations: 186.4 kB / 0.8788 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1555, allocations: 95.25 kB / 0.8789 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1555, allocations: 0 / 0.8789 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000141/0.1556, allocations: 107.1 kB / 0.879 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1556, allocations: 4.219 kB / 0.879 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1556, allocations: 8 kB / 0.879 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1556, allocations: 0 / 0.879 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1558, allocations: 39.92 kB / 0.8791 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1558, allocations: 3.984 kB / 0.8791 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.1558, allocations: 11.95 kB / 0.8791 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.1559, allocations: 8 kB / 0.8791 GB, free: 10.39 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 8.558e-05/0.156, allocations: 128.5 kB / 0.8792 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.156, allocations: 15.92 kB / 0.8792 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1562, allocations: 79.12 kB / 0.8793 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1562, allocations: 11.98 kB / 0.8793 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1562, allocations: 3.984 kB / 0.8793 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1562, allocations: 0 / 0.8793 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.1568, allocations: 0.6581 MB / 0.88 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1568, allocations: 0 / 0.88 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.461e-05/0.1569, allocations: 23.98 kB / 0.88 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.157, allocations: 23.83 kB / 0.88 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.157, allocations: 0 / 0.88 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.157, allocations: 4.156 kB / 0.88 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.157, allocations: 11.92 kB / 0.88 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.157, allocations: 4 kB / 0.88 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1572, allocations: 273.7 kB / 0.8803 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1572, allocations: 4 kB / 0.8803 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.1573, allocations: 11.98 kB / 0.8803 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1574, allocations: 11.92 kB / 0.8803 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1574, allocations: 4 kB / 0.8803 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.1574, allocations: 62.14 kB / 0.8804 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1574, allocations: 0 / 0.8804 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002971/0.1577, allocations: 63.92 kB / 0.8804 GB, free: 8.906 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.0001967/0.1579, allocations: 108.2 kB / 0.8805 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.158, allocations: 60.7 kB / 0.8806 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.158, allocations: 4 kB / 0.8806 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.1581, allocations: 28.78 kB / 0.8806 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1585, allocations: 79.81 kB / 0.8807 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1605, allocations: 432.7 kB / 0.8811 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.1606, allocations: 95.81 kB / 0.8812 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.1606, allocations: 21.47 kB / 0.8812 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.1608, allocations: 95.34 kB / 0.8813 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.1608, allocations: 0 / 0.8813 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of Templates: time 0.006336/0.1671, allocations: 3.01 MB / 0.8843 GB, free: 4.988 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.050966351293027]