Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0007997/0.0007997, allocations: 80.53 kB / 19.93 MB, free: 4.609 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.0007739/0.0007739, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.8837/0.8837, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.811/1.811, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.274e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6236/0.6237, allocations: 147.7 MB / 1.145 GB, free: 7.734 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005273/0.6289, allocations: 5.961 MB / 1.151 GB, free: 3.73 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.6291, allocations: 16.09 kB / 1.151 GB, free: 3.723 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.6296, allocations: 177.2 kB / 1.151 GB, free: 3.605 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.6311, allocations: 0.8481 MB / 1.152 GB, free: 3.168 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.6318, allocations: 380.1 kB / 1.152 GB, free: 2.984 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.6325, allocations: 0.687 MB / 1.153 GB, free: 2.668 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.6328, allocations: 209.4 kB / 1.153 GB, free: 2.574 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.6339, allocations: 0.8075 MB / 1.154 GB, free: 2.215 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.6342, allocations: 237.5 kB / 1.154 GB, free: 2.145 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.6343, allocations: 22.25 kB / 1.154 GB, free: 2.145 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.6347, allocations: 293.6 kB / 1.155 GB, free: 2.047 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.6348, allocations: 116.5 kB / 1.155 GB, free: 1.992 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.6349, allocations: 106.8 kB / 1.155 GB, free: 1.953 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.6354, allocations: 481.2 kB / 1.155 GB, free: 1.781 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6354, allocations: 1 kB / 1.155 GB, free: 1.781 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6354, allocations: 0 / 1.155 GB, free: 1.781 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6354, allocations: 0 / 1.155 GB, free: 1.781 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006665/0.6361, allocations: 0.5437 MB / 1.156 GB, free: 1.352 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6361, allocations: 10.75 kB / 1.156 GB, free: 1.352 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.6364, allocations: 58.75 kB / 1.156 GB, free: 1.332 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.6368, allocations: 265.4 kB / 1.156 GB, free: 1.125 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.6368, allocations: 28.05 kB / 1.156 GB, free: 1.113 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.6368, allocations: 25.91 kB / 1.156 GB, free: 1.105 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.6373, allocations: 316.5 kB / 1.156 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6373, allocations: 6.297 kB / 1.156 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.6373, allocations: 10.47 kB / 1.156 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.6373, allocations: 6.469 kB / 1.156 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.6376, allocations: 201.1 kB / 1.157 GB, free: 0.8633 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.6385, allocations: 1.129 MB / 1.158 GB, free: 15.96 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.6387, allocations: 106.3 kB / 1.158 GB, free: 15.91 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.6388, allocations: 90.44 kB / 1.158 GB, free: 15.88 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.6391, allocations: 78.28 kB / 1.158 GB, free: 15.87 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.6391, allocations: 36.34 kB / 1.158 GB, free: 15.83 MB / 1.026 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.6391, allocations: 1.062 kB / 1.158 GB, free: 15.83 MB / 1.026 GB Notification: Performance of matching and sorting (n=13): time 0.000478/0.6396, allocations: 261.7 kB / 1.158 GB, free: 15.73 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.6397, allocations: 53.67 kB / 1.158 GB, free: 15.67 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.6398, allocations: 224.8 kB / 1.159 GB, free: 15.53 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.6398, allocations: 34.73 kB / 1.159 GB, free: 15.49 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.6399, allocations: 191.4 kB / 1.159 GB, free: 15.33 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.64, allocations: 48.62 kB / 1.159 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.64, allocations: 35.48 kB / 1.159 GB, free: 15.27 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.6401, allocations: 331.5 kB / 1.159 GB, free: 14.95 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.6402, allocations: 57.97 kB / 1.159 GB, free: 14.94 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.6403, allocations: 194.2 kB / 1.159 GB, free: 14.77 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6405, allocations: 177.6 kB / 1.16 GB, free: 14.68 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6405, allocations: 0 / 1.16 GB, free: 14.68 MB / 1.026 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002579/0.6408, allocations: 211 kB / 1.16 GB, free: 14.58 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6408, allocations: 11.81 kB / 1.16 GB, free: 14.58 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6408, allocations: 6.812 kB / 1.16 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6408, allocations: 1.344 kB / 1.16 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6409, allocations: 40.17 kB / 1.16 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.6409, allocations: 2.219 kB / 1.16 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.641, allocations: 18.73 kB / 1.16 GB, free: 14.56 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.641, allocations: 11.59 kB / 1.16 GB, free: 14.55 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001029/0.6411, allocations: 144.8 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.6412, allocations: 29.98 kB / 1.16 GB, free: 14.41 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.6414, allocations: 201.1 kB / 1.16 GB, free: 14.32 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6414, allocations: 1.125 kB / 1.16 GB, free: 14.32 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6414, allocations: 2.125 kB / 1.16 GB, free: 14.32 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6414, allocations: 0.75 kB / 1.16 GB, free: 14.32 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.6421, allocations: 0.6022 MB / 1.161 GB, free: 13.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6421, allocations: 2.281 kB / 1.161 GB, free: 13.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.6421, allocations: 37.95 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6421, allocations: 3.219 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.6421, allocations: 3.094 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6422, allocations: 6.172 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6422, allocations: 4 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.6424, allocations: 329.5 kB / 1.161 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.6425, allocations: 32.53 kB / 1.161 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.6425, allocations: 8.234 kB / 1.161 GB, free: 13.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.6425, allocations: 7.047 kB / 1.161 GB, free: 13.62 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.6426, allocations: 23.47 kB / 1.161 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.6426, allocations: 4.469 kB / 1.161 GB, free: 13.61 MB / 1.026 GB Notification: Performance of sorting global known variables: time 9.999e-05/0.6427, allocations: 159.7 kB / 1.161 GB, free: 13.51 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6427, allocations: 0 / 1.161 GB, free: 13.51 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002437/0.6429, allocations: 84.52 kB / 1.161 GB, free: 13.49 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0002115/0.6432, allocations: 134.1 kB / 1.162 GB, free: 13.39 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.6434, allocations: 161.5 kB / 1.162 GB, free: 13.34 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6434, allocations: 0 / 1.162 GB, free: 13.34 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6435, allocations: 80.03 kB / 1.162 GB, free: 13.32 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.6439, allocations: 81.33 kB / 1.162 GB, free: 13.3 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.6445, allocations: 0.5467 MB / 1.162 GB, free: 12.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.6446, allocations: 170.6 kB / 1.163 GB, free: 12.82 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.6447, allocations: 22.03 kB / 1.163 GB, free: 12.81 MB / 1.026 GB Notification: Performance of SimCode: time 5.81e-07/0.6447, allocations: 0 / 1.163 GB, free: 12.81 MB / 1.026 GB Notification: Performance of Templates: time 0.006646/0.6513, allocations: 3.828 MB / 1.166 GB, free: 12.42 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 8.116899486631155]