Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001111/0.001111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00172/0.002831, allocations: 440 kB / 10.41 MB, free: 284 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.001053/0.001053, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002469, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9124/0.9124, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.357/2.357, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2415/2.598, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.731e-05, allocations: 8.984 kB / 0.819 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1434/0.1434, allocations: 145.9 MB / 0.9615 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1447, allocations: 0.8501 MB / 0.9623 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1448, allocations: 11.88 kB / 0.9623 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.145, allocations: 75.36 kB / 0.9624 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.1456, allocations: 322.2 kB / 0.9627 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1461, allocations: 275.4 kB / 0.9629 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.1465, allocations: 0.5182 MB / 0.9635 GB, free: 13.92 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1467, allocations: 159.3 kB / 0.9636 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.1471, allocations: 299.2 kB / 0.9639 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1472, allocations: 159.5 kB / 0.964 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.1473, allocations: 16 kB / 0.9641 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1474, allocations: 87.86 kB / 0.9641 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.1475, allocations: 83.75 kB / 0.9642 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.1475, allocations: 71.81 kB / 0.9643 GB, free: 13.07 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1478, allocations: 211.2 kB / 0.9645 GB, free: 12.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.1478, allocations: 0 / 0.9645 GB, free: 12.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1478, allocations: 0 / 0.9645 GB, free: 12.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1478, allocations: 4 kB / 0.9645 GB, free: 12.86 MB / 0.948 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.0005295/0.1484, allocations: 491.3 kB / 0.965 GB, free: 12.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1484, allocations: 8.031 kB / 0.965 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.1484, allocations: 32.91 kB / 0.965 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1487, allocations: 201.4 kB / 0.9652 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1487, allocations: 20.38 kB / 0.9652 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1487, allocations: 20.38 kB / 0.9652 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.149, allocations: 217.1 kB / 0.9654 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.149, allocations: 7.938 kB / 0.9654 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.149, allocations: 4 kB / 0.9655 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.149, allocations: 8 kB / 0.9655 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.1491, allocations: 71.06 kB / 0.9655 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.1497, allocations: 1.17 MB / 0.9667 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1499, allocations: 319.4 kB / 0.967 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.15, allocations: 64.39 kB / 0.967 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.1501, allocations: 43.84 kB / 0.9671 GB, free: 9.965 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.1501, allocations: 38.55 kB / 0.9671 GB, free: 9.918 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.1501, allocations: 0 / 0.9671 GB, free: 9.918 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0001903/0.1503, allocations: 93.47 kB / 0.9672 GB, free: 9.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1504, allocations: 187.9 kB / 0.9674 GB, free: 9.594 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.1505, allocations: 182.3 kB / 0.9676 GB, free: 9.402 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1505, allocations: 33.7 kB / 0.9676 GB, free: 9.363 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.1505, allocations: 148.7 kB / 0.9677 GB, free: 9.215 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1506, allocations: 43.67 kB / 0.9678 GB, free: 9.172 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1506, allocations: 33.64 kB / 0.9678 GB, free: 9.133 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.1507, allocations: 334.8 kB / 0.9681 GB, free: 8.797 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.1507, allocations: 10.83 kB / 0.9681 GB, free: 8.785 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.1508, allocations: 176.9 kB / 0.9683 GB, free: 8.562 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.741e-05/0.1508, allocations: 107.2 kB / 0.9684 GB, free: 8.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1509, allocations: 0 / 0.9684 GB, free: 8.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001148/0.151, allocations: 111 kB / 0.9685 GB, free: 8.312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.151, allocations: 4 kB / 0.9685 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.151, allocations: 0 / 0.9685 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.151, allocations: 4 kB / 0.9685 GB, free: 8.305 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.1511, allocations: 31.98 kB / 0.9685 GB, free: 8.273 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1511, allocations: 224 / 0.9686 GB, free: 8.273 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.1511, allocations: 27.83 kB / 0.9686 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1512, allocations: 4 kB / 0.9686 GB, free: 8.242 MB / 0.948 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 6.87e-05/0.1512, allocations: 124.7 kB / 0.9687 GB, free: 8.109 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.1513, allocations: 19.92 kB / 0.9687 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.1514, allocations: 75.08 kB / 0.9688 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1514, allocations: 0 / 0.9688 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1514, allocations: 4 kB / 0.9688 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1514, allocations: 0 / 0.9688 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.1518, allocations: 0.6542 MB / 0.9694 GB, free: 7.305 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1518, allocations: 4 kB / 0.9694 GB, free: 7.301 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.1519, allocations: 23.92 kB / 0.9695 GB, free: 7.277 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.1519, allocations: 23.84 kB / 0.9695 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1519, allocations: 4 kB / 0.9695 GB, free: 7.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1519, allocations: 4 kB / 0.9695 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1519, allocations: 4 kB / 0.9695 GB, free: 7.242 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1519, allocations: 3.938 kB / 0.9695 GB, free: 7.238 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.1521, allocations: 269.9 kB / 0.9698 GB, free: 6.938 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1521, allocations: 12.02 kB / 0.9698 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.1522, allocations: 4 kB / 0.9698 GB, free: 6.922 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1522, allocations: 19.86 kB / 0.9698 GB, free: 6.902 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.1522, allocations: 4 kB / 0.9698 GB, free: 6.898 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.1522, allocations: 53.95 kB / 0.9698 GB, free: 6.844 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1522, allocations: 0 / 0.9698 GB, free: 6.844 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001948/0.1524, allocations: 67.81 kB / 0.9699 GB, free: 6.777 MB / 0.948 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.000162/0.1526, allocations: 107 kB / 0.97 GB, free: 6.668 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1527, allocations: 68.7 kB / 0.9701 GB, free: 6.598 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.1527, allocations: 4 kB / 0.9701 GB, free: 6.594 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.1527, allocations: 40.72 kB / 0.9701 GB, free: 6.551 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1531, allocations: 409.1 kB / 0.9705 GB, free: 6.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.1546, allocations: 423.8 kB / 0.9709 GB, free: 5.621 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.1546, allocations: 91.95 kB / 0.971 GB, free: 5.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.1547, allocations: 17.42 kB / 0.971 GB, free: 5.492 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1548, allocations: 87.34 kB / 0.9711 GB, free: 5.406 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.1548, allocations: 0 / 0.9711 GB, free: 5.406 MB / 0.948 GB Notification: Performance of Templates: time 0.004745/0.1596, allocations: 2.882 MB / 0.9739 GB, free: 2.578 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy/Buildings_latest_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.264006446115673]