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.001568/0.001568, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.002093/0.002093, allocations: 215.1 kB / 22.99 MB, free: 4.965 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 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.313/3.313, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: 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.002064/0.002064, allocations: 71.5 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3809, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2053/0.5863, allocations: 147.8 MB / 1.509 GB, free: 9.203 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009412/0.5957, allocations: 6.011 MB / 1.515 GB, free: 3.176 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.5962, allocations: 15.88 kB / 1.515 GB, free: 3.16 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007754/0.597, allocations: 178.7 kB / 1.515 GB, free: 2.984 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.5997, allocations: 0.8401 MB / 1.516 GB, free: 2.141 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.6009, allocations: 339.6 kB / 1.516 GB, free: 1.812 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.602, allocations: 0.7212 MB / 1.517 GB, free: 1.09 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005253/0.6026, allocations: 215.2 kB / 1.517 GB, free: 0.875 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.6044, allocations: 0.7356 MB / 1.518 GB, free: 140 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.605, allocations: 255 kB / 1.518 GB, free: 15.89 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.6051, allocations: 24 kB / 1.518 GB, free: 15.86 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.6058, allocations: 283.3 kB / 1.518 GB, free: 15.59 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.606, allocations: 107.6 kB / 1.518 GB, free: 15.48 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.6062, allocations: 135.3 kB / 1.519 GB, free: 15.35 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0008392/0.607, allocations: 478.2 kB / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.607, allocations: 0 / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.483e-06/0.607, allocations: 4 kB / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.607, allocations: 0 / 1.519 GB, free: 14.88 MB / 1.217 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.001034/0.6081, allocations: 0.5477 MB / 1.52 GB, free: 14.3 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6081, allocations: 8.031 kB / 1.52 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.6085, allocations: 63.72 kB / 1.52 GB, free: 14.23 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.609, allocations: 263.5 kB / 1.52 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.6091, allocations: 20.66 kB / 1.52 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.6091, allocations: 24 kB / 1.52 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.6097, allocations: 316.9 kB / 1.52 GB, free: 13.56 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6097, allocations: 0 / 1.52 GB, free: 13.56 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.6098, allocations: 12 kB / 1.52 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.6098, allocations: 8 kB / 1.52 GB, free: 13.54 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.6102, allocations: 209.5 kB / 1.52 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.6118, allocations: 1.125 MB / 1.522 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.6121, allocations: 118.5 kB / 1.522 GB, free: 12.04 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.6123, allocations: 88.73 kB / 1.522 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/0.6128, allocations: 67.92 kB / 1.522 GB, free: 11.88 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.6128, allocations: 42.5 kB / 1.522 GB, free: 11.83 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.6128, allocations: 4 kB / 1.522 GB, free: 11.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0008524/0.6137, allocations: 264.8 kB / 1.522 GB, free: 11.56 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6138, allocations: 55.41 kB / 1.522 GB, free: 11.5 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.614, allocations: 229.8 kB / 1.522 GB, free: 11.26 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.6141, allocations: 29.7 kB / 1.522 GB, free: 11.23 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.6142, allocations: 196.2 kB / 1.523 GB, free: 11.03 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.6142, allocations: 51.53 kB / 1.523 GB, free: 10.98 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.6143, allocations: 41.7 kB / 1.523 GB, free: 10.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6145, allocations: 330.8 kB / 1.523 GB, free: 10.6 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.6147, allocations: 63.86 kB / 1.523 GB, free: 10.54 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.615, allocations: 186.2 kB / 1.523 GB, free: 10.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.6153, allocations: 177 kB / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6153, allocations: 0 / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005117/0.6158, allocations: 209.3 kB / 1.524 GB, free: 9.918 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6159, allocations: 8 kB / 1.524 GB, free: 9.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6159, allocations: 0 / 1.524 GB, free: 9.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.6159, allocations: 12.09 kB / 1.524 GB, free: 9.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.6161, allocations: 35.91 kB / 1.524 GB, free: 9.863 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.6161, allocations: 7.984 kB / 1.524 GB, free: 9.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6163, allocations: 23.94 kB / 1.524 GB, free: 9.832 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.6163, allocations: 8 kB / 1.524 GB, free: 9.824 MB / 1.217 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.0001801/0.6165, allocations: 150.8 kB / 1.524 GB, free: 9.668 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.6165, allocations: 27.8 kB / 1.524 GB, free: 9.641 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.617, allocations: 199.4 kB / 1.524 GB, free: 9.441 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.617, allocations: 4 kB / 1.524 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.617, allocations: 0 / 1.524 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.617, allocations: 3.984 kB / 1.524 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.6181, allocations: 0.5895 MB / 1.525 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.6181, allocations: 8.219 kB / 1.525 GB, free: 8.777 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6183, allocations: 27.97 kB / 1.525 GB, free: 8.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6183, allocations: 4 kB / 1.525 GB, free: 8.746 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.6183, allocations: 4 kB / 1.525 GB, free: 8.742 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.6183, allocations: 4 kB / 1.525 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.6183, allocations: 7.938 kB / 1.525 GB, free: 8.73 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.6189, allocations: 325.3 kB / 1.525 GB, free: 8.375 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.619, allocations: 39.78 kB / 1.525 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.619, allocations: 4 kB / 1.525 GB, free: 8.332 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.6191, allocations: 15.94 kB / 1.525 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.6192, allocations: 15.91 kB / 1.525 GB, free: 8.301 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.6192, allocations: 8 kB / 1.525 GB, free: 8.293 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001663/0.6194, allocations: 161.2 kB / 1.525 GB, free: 8.137 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6194, allocations: 3.938 kB / 1.525 GB, free: 8.133 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004122/0.6198, allocations: 79.78 kB / 1.525 GB, free: 8.055 MB / 1.217 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.0002928/0.6201, allocations: 139.1 kB / 1.525 GB, free: 7.906 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.6205, allocations: 159.8 kB / 1.526 GB, free: 7.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6205, allocations: 0 / 1.526 GB, free: 7.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.6207, allocations: 84.27 kB / 1.526 GB, free: 7.668 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.6213, allocations: 92.92 kB / 1.526 GB, free: 7.582 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.6224, allocations: 0.5774 MB / 1.526 GB, free: 6.953 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.6226, allocations: 171.5 kB / 1.526 GB, free: 6.766 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.6227, allocations: 19.44 kB / 1.527 GB, free: 6.746 MB / 1.217 GB Notification: Performance of SimCode: time 3.5e-07/0.6227, allocations: 0 / 1.527 GB, free: 6.746 MB / 1.217 GB Notification: Performance of Templates: time 0.00809/0.6308, allocations: 3.926 MB / 1.53 GB, free: 2.852 MB / 1.217 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/jenkins1/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: 12.517328240908682]