Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001646/0.001646, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001858/0.001858, allocations: 224.3 kB / 23 MB, free: 4.914 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.75/2.75, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.77 kB / 1.118 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3296, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1899/0.5195, allocations: 147.8 MB / 1.428 GB, free: 7.59 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.5307, allocations: 6.02 MB / 1.434 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.5315, allocations: 15.88 kB / 1.434 GB, free: 1.539 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.5324, allocations: 166.7 kB / 1.434 GB, free: 1.375 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.5353, allocations: 0.8518 MB / 1.435 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.5365, allocations: 330.3 kB / 1.435 GB, free: 204 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.5377, allocations: 0.7329 MB / 1.436 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.5383, allocations: 215.3 kB / 1.436 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.5398, allocations: 0.572 MB / 1.437 GB, free: 14.68 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.5403, allocations: 278.9 kB / 1.437 GB, free: 14.4 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.5403, allocations: 24 kB / 1.437 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/0.541, allocations: 295.2 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.5411, allocations: 111.6 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.5413, allocations: 131.4 kB / 1.438 GB, free: 13.85 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006827/0.542, allocations: 474.2 kB / 1.438 GB, free: 13.39 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.542, allocations: 0 / 1.438 GB, free: 13.39 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.903e-06/0.542, allocations: 7.938 kB / 1.438 GB, free: 13.38 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.542, allocations: 0 / 1.438 GB, free: 13.38 MB / 1.139 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.001006/0.543, allocations: 0.5515 MB / 1.439 GB, free: 12.8 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.543, allocations: 12.03 kB / 1.439 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.5434, allocations: 59.73 kB / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.5439, allocations: 267.5 kB / 1.439 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.544, allocations: 16.66 kB / 1.439 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.544, allocations: 28 kB / 1.439 GB, free: 12.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.5445, allocations: 320.8 kB / 1.439 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5445, allocations: 0 / 1.439 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.5446, allocations: 12 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5446, allocations: 4 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.545, allocations: 205.6 kB / 1.439 GB, free: 11.84 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.5465, allocations: 1.133 MB / 1.441 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.5468, allocations: 110.5 kB / 1.441 GB, free: 10.54 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.547, allocations: 88.73 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/0.5475, allocations: 75.91 kB / 1.441 GB, free: 10.37 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.5475, allocations: 34.5 kB / 1.441 GB, free: 10.33 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5475, allocations: 4 kB / 1.441 GB, free: 10.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007737/0.5483, allocations: 266.8 kB / 1.441 GB, free: 10.06 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5483, allocations: 55.39 kB / 1.441 GB, free: 9.992 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.5486, allocations: 221.9 kB / 1.441 GB, free: 9.766 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5486, allocations: 33.7 kB / 1.441 GB, free: 9.727 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.5488, allocations: 188.1 kB / 1.442 GB, free: 9.539 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.5488, allocations: 51.58 kB / 1.442 GB, free: 9.488 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.5489, allocations: 37.7 kB / 1.442 GB, free: 9.445 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5491, allocations: 338.8 kB / 1.442 GB, free: 9.105 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.5492, allocations: 51.95 kB / 1.442 GB, free: 9.055 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.5495, allocations: 202 kB / 1.442 GB, free: 8.82 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.5499, allocations: 169 kB / 1.442 GB, free: 8.637 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5499, allocations: 0 / 1.442 GB, free: 8.637 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005388/0.5504, allocations: 221.2 kB / 1.443 GB, free: 8.414 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5504, allocations: 4 kB / 1.443 GB, free: 8.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5504, allocations: 4 kB / 1.443 GB, free: 8.406 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5504, allocations: 160 / 1.443 GB, free: 8.406 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.5506, allocations: 39.92 kB / 1.443 GB, free: 8.367 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5506, allocations: 0 / 1.443 GB, free: 8.367 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.5508, allocations: 15.94 kB / 1.443 GB, free: 8.352 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.5508, allocations: 12 kB / 1.443 GB, free: 8.34 MB / 1.139 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.0001787/0.551, allocations: 149.8 kB / 1.443 GB, free: 8.184 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.5511, allocations: 23.8 kB / 1.443 GB, free: 8.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.5515, allocations: 209.6 kB / 1.443 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5515, allocations: 8 kB / 1.443 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5515, allocations: 0 / 1.443 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5515, allocations: 0 / 1.443 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5527, allocations: 0.5934 MB / 1.444 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5527, allocations: 224 / 1.444 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.5528, allocations: 35.92 kB / 1.444 GB, free: 7.254 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5528, allocations: 64 / 1.444 GB, free: 7.254 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.5528, allocations: 12 kB / 1.444 GB, free: 7.242 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.5528, allocations: 4 kB / 1.444 GB, free: 7.238 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5528, allocations: 3.984 kB / 1.444 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.5533, allocations: 337.1 kB / 1.444 GB, free: 6.867 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.5534, allocations: 39.78 kB / 1.444 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5535, allocations: 8 kB / 1.444 GB, free: 6.82 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5536, allocations: 11.98 kB / 1.444 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.5537, allocations: 19.86 kB / 1.444 GB, free: 6.789 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.5537, allocations: 4 kB / 1.444 GB, free: 6.785 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001722/0.5538, allocations: 165.2 kB / 1.444 GB, free: 6.629 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5538, allocations: 0 / 1.444 GB, free: 6.629 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004249/0.5543, allocations: 79.78 kB / 1.444 GB, free: 6.551 MB / 1.139 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.0003188/0.5546, allocations: 143.2 kB / 1.444 GB, free: 6.398 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004151/0.555, allocations: 147.8 kB / 1.445 GB, free: 6.254 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.555, allocations: 0 / 1.445 GB, free: 6.254 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.5552, allocations: 88.38 kB / 1.445 GB, free: 6.168 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.5558, allocations: 89.19 kB / 1.445 GB, free: 6.086 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5569, allocations: 0.5631 MB / 1.445 GB, free: 5.469 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.5571, allocations: 179.5 kB / 1.446 GB, free: 5.277 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.5571, allocations: 19.44 kB / 1.446 GB, free: 5.258 MB / 1.139 GB Notification: Performance of SimCode: time 6.81e-07/0.5571, allocations: 0 / 1.446 GB, free: 5.258 MB / 1.139 GB Notification: Performance of Templates: time 0.007355/0.5645, allocations: 3.923 MB / 1.449 GB, free: 1.367 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.049784230999649]