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.002395/0.002395, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002833/0.002833, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.459/3.459, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 5.54e-06/5.54e-06, allocations: 4 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.661e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2337/0.2337, allocations: 157.4 MB / 1.031 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00759/0.2413, allocations: 4.64 MB / 1.036 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.2417, allocations: 15.88 kB / 1.036 GB, free: 4.062 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.2423, allocations: 131 kB / 1.036 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.2433, allocations: 354.1 kB / 1.036 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2444, allocations: 295.2 kB / 1.036 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.2451, allocations: 0.5299 MB / 1.037 GB, free: 2.762 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.2454, allocations: 154.2 kB / 1.037 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.2472, allocations: 0.7238 MB / 1.038 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2475, allocations: 175.5 kB / 1.038 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2476, allocations: 16 kB / 1.038 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.2478, allocations: 87.91 kB / 1.038 GB, free: 1.613 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2479, allocations: 91.72 kB / 1.038 GB, free: 1.523 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2481, allocations: 83.83 kB / 1.038 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.2486, allocations: 311 kB / 1.039 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2486, allocations: 0 / 1.039 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2486, allocations: 0 / 1.039 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.2486, allocations: 0 / 1.039 GB, free: 1.137 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.0009339/0.2496, allocations: 0.5613 MB / 1.039 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2496, allocations: 8.031 kB / 1.039 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2497, allocations: 43.8 kB / 1.039 GB, free: 500 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.2502, allocations: 231.5 kB / 1.039 GB, free: 240 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.2502, allocations: 19.98 kB / 1.039 GB, free: 220 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2502, allocations: 16 kB / 1.039 GB, free: 204 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.2508, allocations: 269.9 kB / 1.04 GB, free: 15.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2508, allocations: 4 kB / 1.04 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2508, allocations: 8 kB / 1.04 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2508, allocations: 8 kB / 1.04 GB, free: 15.87 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.2511, allocations: 123.7 kB / 1.04 GB, free: 15.75 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2529, allocations: 1.731 MB / 1.041 GB, free: 13.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2533, allocations: 214.6 kB / 1.042 GB, free: 13.64 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2535, allocations: 94.09 kB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.2538, allocations: 31.95 kB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.2538, allocations: 49.33 kB / 1.042 GB, free: 13.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.2538, allocations: 0 / 1.042 GB, free: 13.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0005912/0.2544, allocations: 165.9 kB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.2545, allocations: 187.9 kB / 1.042 GB, free: 13.04 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.2548, allocations: 269.9 kB / 1.042 GB, free: 12.76 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2549, allocations: 25.7 kB / 1.042 GB, free: 12.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.255, allocations: 214.9 kB / 1.043 GB, free: 12.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.2551, allocations: 39.7 kB / 1.043 GB, free: 12.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.2552, allocations: 39.36 kB / 1.043 GB, free: 12.43 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004275/0.2556, allocations: 0.5079 MB / 1.043 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2557, allocations: 35.92 kB / 1.043 GB, free: 11.88 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.256, allocations: 232 kB / 1.043 GB, free: 11.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2563, allocations: 153.3 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2563, allocations: 0 / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003344/0.2566, allocations: 157.4 kB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2566, allocations: 8 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2566, allocations: 3.984 kB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2567, allocations: 4 kB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2568, allocations: 31.92 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2568, allocations: 3.938 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2569, allocations: 11.95 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.2569, allocations: 12.22 kB / 1.044 GB, free: 11.17 MB / 1.01 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.0001797/0.2571, allocations: 188.4 kB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2572, allocations: 23.86 kB / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.2575, allocations: 110.8 kB / 1.044 GB, free: 10.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2575, allocations: 4 kB / 1.044 GB, free: 10.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2576, allocations: 7.875 kB / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2576, allocations: 0 / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.2587, allocations: 0.934 MB / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2587, allocations: 8.156 kB / 1.045 GB, free: 9.816 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.2588, allocations: 28.17 kB / 1.045 GB, free: 9.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2588, allocations: 3.938 kB / 1.045 GB, free: 9.785 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2588, allocations: 8 kB / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2588, allocations: 0 / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2588, allocations: 4 kB / 1.045 GB, free: 9.773 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.2594, allocations: 346.2 kB / 1.045 GB, free: 9.395 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.2594, allocations: 39.72 kB / 1.046 GB, free: 9.355 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.2595, allocations: 32 / 1.046 GB, free: 9.355 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2596, allocations: 11.98 kB / 1.046 GB, free: 9.344 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.2596, allocations: 15.92 kB / 1.046 GB, free: 9.328 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.2596, allocations: 4 kB / 1.046 GB, free: 9.324 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001924/0.2598, allocations: 192.3 kB / 1.046 GB, free: 9.137 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.2598, allocations: 0 / 1.046 GB, free: 9.137 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004053/0.2602, allocations: 59.89 kB / 1.046 GB, free: 9.078 MB / 1.01 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.0002557/0.2605, allocations: 119.2 kB / 1.046 GB, free: 8.953 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.2608, allocations: 107.5 kB / 1.046 GB, free: 8.844 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2608, allocations: 0 / 1.046 GB, free: 8.844 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.261, allocations: 59.59 kB / 1.046 GB, free: 8.781 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.2615, allocations: 63.06 kB / 1.046 GB, free: 8.723 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.2624, allocations: 453.1 kB / 1.047 GB, free: 8.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.2626, allocations: 145.2 kB / 1.047 GB, free: 8.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.2627, allocations: 33.45 kB / 1.047 GB, free: 8.039 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.2627, allocations: 20.5 kB / 1.047 GB, free: 8.016 MB / 1.01 GB Notification: Performance of SimCode: time 7.32e-07/0.2627, allocations: 0 / 1.047 GB, free: 8.016 MB / 1.01 GB Notification: Performance of Templates: time 0.007511/0.2702, allocations: 2.599 MB / 1.049 GB, free: 5.488 MB / 1.01 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.422189887030981]