Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008329/0.0008329, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009832/0.0009832, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 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.8459/0.8459, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.636/1.636, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9518 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.907e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6593/0.6594, allocations: 142.2 MB / 1.091 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.6628, allocations: 4.177 MB / 1.095 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.663, allocations: 13.12 kB / 1.095 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.6635, allocations: 131.3 kB / 1.095 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000745/0.6642, allocations: 345.2 kB / 1.095 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.6648, allocations: 310 kB / 1.095 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.6654, allocations: 0.5665 MB / 1.096 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.6657, allocations: 159.6 kB / 1.096 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/0.6665, allocations: 0.5293 MB / 1.097 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.6667, allocations: 180.5 kB / 1.097 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.6667, allocations: 16.84 kB / 1.097 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.6669, allocations: 81.86 kB / 1.097 GB, free: 39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.722e-05/0.667, allocations: 94.14 kB / 1.097 GB, free: 38.96 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.6671, allocations: 84.03 kB / 1.097 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.6675, allocations: 308.3 kB / 1.097 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.6675, allocations: 3.141 kB / 1.097 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.756e-06/0.6675, allocations: 2.844 kB / 1.097 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6675, allocations: 3.938 kB / 1.097 GB, free: 38.83 MB / 0.9948 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.0008114/0.6683, allocations: 472.1 kB / 1.098 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6683, allocations: 9.5 kB / 1.098 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.6684, allocations: 31.84 kB / 1.098 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.6688, allocations: 225.1 kB / 1.098 GB, free: 38.26 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.6688, allocations: 12.12 kB / 1.098 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.6688, allocations: 21.03 kB / 1.098 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.6691, allocations: 260.8 kB / 1.098 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6692, allocations: 7.938 kB / 1.098 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.6692, allocations: 6.625 kB / 1.098 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6692, allocations: 5.25 kB / 1.098 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.6694, allocations: 150.5 kB / 1.099 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.6702, allocations: 1.231 MB / 1.1 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.6705, allocations: 181.2 kB / 1.1 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6706, allocations: 91.81 kB / 1.1 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.6708, allocations: 42.89 kB / 1.1 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.6708, allocations: 39.69 kB / 1.1 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.6708, allocations: 0 / 1.1 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0004213/0.6712, allocations: 200.1 kB / 1.1 GB, free: 36.56 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.6713, allocations: 182.5 kB / 1.1 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.6714, allocations: 209.2 kB / 1.101 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.6714, allocations: 28.39 kB / 1.101 GB, free: 36.17 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.6715, allocations: 173.7 kB / 1.101 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.6716, allocations: 34.23 kB / 1.101 GB, free: 36 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.6716, allocations: 30.97 kB / 1.101 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.6717, allocations: 331 kB / 1.101 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.6717, allocations: 47.28 kB / 1.101 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.6719, allocations: 221.8 kB / 1.101 GB, free: 35.43 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.672, allocations: 162.3 kB / 1.102 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.672, allocations: 0 / 1.102 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002165/0.6723, allocations: 186.5 kB / 1.102 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6723, allocations: 5.031 kB / 1.102 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6723, allocations: 2.75 kB / 1.102 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6723, allocations: 2.875 kB / 1.102 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.6724, allocations: 29.81 kB / 1.102 GB, free: 35.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6724, allocations: 10.39 kB / 1.102 GB, free: 35.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.6725, allocations: 18.91 kB / 1.102 GB, free: 35.22 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.6725, allocations: 9.25 kB / 1.102 GB, free: 35.22 MB / 0.9948 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 0.0001056/0.6726, allocations: 153.1 kB / 1.102 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.6727, allocations: 21.05 kB / 1.102 GB, free: 35.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.6729, allocations: 118.1 kB / 1.102 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6729, allocations: 2.781 kB / 1.102 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6729, allocations: 3.984 kB / 1.102 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6729, allocations: 13.81 kB / 1.102 GB, free: 35.01 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.6735, allocations: 0.6964 MB / 1.103 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.6735, allocations: 5.969 kB / 1.103 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.791e-05/0.6736, allocations: 24.53 kB / 1.103 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.6736, allocations: 8.859 kB / 1.103 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.6736, allocations: 4 kB / 1.103 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.6736, allocations: 3.125 kB / 1.103 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6736, allocations: 2.375 kB / 1.103 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.674, allocations: 325.6 kB / 1.103 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.6741, allocations: 33.22 kB / 1.103 GB, free: 34.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.6741, allocations: 2.766 kB / 1.103 GB, free: 34.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.6742, allocations: 15.19 kB / 1.103 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.6742, allocations: 9.156 kB / 1.103 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6742, allocations: 8.469 kB / 1.103 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000135/0.6744, allocations: 152.2 kB / 1.103 GB, free: 34.01 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6744, allocations: 0 / 1.103 GB, free: 34.01 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000303/0.6747, allocations: 63.27 kB / 1.103 GB, free: 34 MB / 0.9948 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.0002863/0.6749, allocations: 126.8 kB / 1.104 GB, free: 33.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.6753, allocations: 125.4 kB / 1.104 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6753, allocations: 0.5625 kB / 1.104 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.6755, allocations: 57.17 kB / 1.104 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.6759, allocations: 75.86 kB / 1.104 GB, free: 33.83 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.6767, allocations: 471.2 kB / 1.104 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.6769, allocations: 144.1 kB / 1.104 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.677, allocations: 23.75 kB / 1.104 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.677, allocations: 0.5 kB / 1.104 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.005591/0.6826, allocations: 3.106 MB / 1.107 GB, free: 33.12 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.804936696775258]