Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001303/0.001303, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.00149/0.00149, allocations: 220.5 kB / 23 MB, free: 4.918 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_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_12_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.002152/0.002152, allocations: 76.38 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4107, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2023/0.613, allocations: 147.8 MB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.621, allocations: 6.022 MB / 1.477 GB, free: 7.445 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.6215, allocations: 19.81 kB / 1.477 GB, free: 7.426 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.6221, allocations: 174.7 kB / 1.477 GB, free: 7.254 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.6245, allocations: 0.8402 MB / 1.478 GB, free: 6.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.6256, allocations: 334.5 kB / 1.478 GB, free: 6.086 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008946/0.6265, allocations: 0.7173 MB / 1.479 GB, free: 5.367 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.6269, allocations: 223.2 kB / 1.479 GB, free: 5.145 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.6284, allocations: 0.7239 MB / 1.479 GB, free: 4.418 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.6288, allocations: 263 kB / 1.48 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.6289, allocations: 20 kB / 1.48 GB, free: 4.141 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.6294, allocations: 291.3 kB / 1.48 GB, free: 3.855 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.6296, allocations: 107.6 kB / 1.48 GB, free: 3.75 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.6297, allocations: 135.3 kB / 1.48 GB, free: 3.617 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.6304, allocations: 470.2 kB / 1.481 GB, free: 3.156 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6304, allocations: 0 / 1.481 GB, free: 3.156 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6304, allocations: 4 kB / 1.481 GB, free: 3.152 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.6304, allocations: 0 / 1.481 GB, free: 3.152 MB / 1.17 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.0009307/0.6314, allocations: 0.5555 MB / 1.481 GB, free: 2.566 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6314, allocations: 8.031 kB / 1.481 GB, free: 2.559 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.6317, allocations: 59.73 kB / 1.481 GB, free: 2.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.6323, allocations: 263.5 kB / 1.482 GB, free: 2.211 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.6323, allocations: 20.66 kB / 1.482 GB, free: 2.191 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.6324, allocations: 24 kB / 1.482 GB, free: 2.168 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.6329, allocations: 320.9 kB / 1.482 GB, free: 1.828 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6329, allocations: 0 / 1.482 GB, free: 1.828 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.633, allocations: 12 kB / 1.482 GB, free: 1.816 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.633, allocations: 8 kB / 1.482 GB, free: 1.809 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.6334, allocations: 209.4 kB / 1.482 GB, free: 1.605 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.635, allocations: 1.133 MB / 1.483 GB, free: 424 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.6352, allocations: 110.5 kB / 1.483 GB, free: 304 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.6354, allocations: 92.73 kB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004624/0.6359, allocations: 67.92 kB / 1.483 GB, free: 140 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.6359, allocations: 30.56 kB / 1.484 GB, free: 100 kB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.6359, allocations: 8 kB / 1.484 GB, free: 92 kB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0007764/0.6367, allocations: 268.8 kB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.6367, allocations: 51.41 kB / 1.484 GB, free: 15.76 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.637, allocations: 233.9 kB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.637, allocations: 29.69 kB / 1.484 GB, free: 15.49 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.6372, allocations: 192.1 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.6372, allocations: 51.58 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.6373, allocations: 37.7 kB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6375, allocations: 334.8 kB / 1.485 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.6376, allocations: 55.95 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.6379, allocations: 190.2 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.6382, allocations: 177 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6382, allocations: 0 / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004201/0.6386, allocations: 217.2 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6387, allocations: 9.562 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6387, allocations: 0 / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.6387, allocations: 12.14 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.6389, allocations: 27.98 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.6389, allocations: 4 kB / 1.485 GB, free: 14.13 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.639, allocations: 19.94 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.639, allocations: 4 kB / 1.485 GB, free: 14.11 MB / 1.186 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.0001655/0.6392, allocations: 157.7 kB / 1.486 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.6393, allocations: 23.8 kB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.6397, allocations: 203.3 kB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.6397, allocations: 8 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6397, allocations: 0 / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6397, allocations: 0 / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.6407, allocations: 0.5934 MB / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6407, allocations: 4.219 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6408, allocations: 36.05 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6408, allocations: 0 / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6409, allocations: 4 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6409, allocations: 7.938 kB / 1.486 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6409, allocations: 0 / 1.486 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.6413, allocations: 337.2 kB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.6414, allocations: 35.78 kB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.6415, allocations: 15.94 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.6416, allocations: 7.984 kB / 1.487 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.6416, allocations: 19.92 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.6417, allocations: 4 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001545/0.6418, allocations: 161.2 kB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6418, allocations: 0 / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000387/0.6422, allocations: 79.78 kB / 1.487 GB, free: 12.32 MB / 1.186 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.000278/0.6425, allocations: 143.1 kB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.6429, allocations: 155.8 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6429, allocations: 0 / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.6431, allocations: 80.39 kB / 1.487 GB, free: 11.94 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.6437, allocations: 90.34 kB / 1.487 GB, free: 11.86 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.6446, allocations: 0.5737 MB / 1.488 GB, free: 11.23 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.6448, allocations: 171.5 kB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.6449, allocations: 19.44 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of SimCode: time 3.4e-07/0.6449, allocations: 3.938 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of Templates: time 0.006889/0.6518, allocations: 3.924 MB / 1.492 GB, free: 7.129 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.414221269078553]