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.001774/0.001774, allocations: 77.78 kB / 19.76 MB, free: 2.027 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.001549/0.001549, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.882/2.882, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 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.00216/0.00216, allocations: 71.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8852/0.8874, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1965/1.084, allocations: 147.8 MB / 1.331 GB, free: 2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007916/1.092, allocations: 6.019 MB / 1.337 GB, free: 11.97 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/1.092, allocations: 19.81 kB / 1.337 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005298/1.093, allocations: 174.7 kB / 1.337 GB, free: 11.78 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/1.095, allocations: 0.8363 MB / 1.338 GB, free: 10.94 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/1.096, allocations: 342.3 kB / 1.338 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008845/1.097, allocations: 0.7135 MB / 1.339 GB, free: 9.887 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/1.097, allocations: 215.3 kB / 1.339 GB, free: 9.676 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/1.099, allocations: 0.7278 MB / 1.34 GB, free: 8.945 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/1.099, allocations: 267 kB / 1.34 GB, free: 8.684 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/1.099, allocations: 23.94 kB / 1.34 GB, free: 8.66 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/1.1, allocations: 295.2 kB / 1.34 GB, free: 8.371 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/1.1, allocations: 103.6 kB / 1.34 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/1.1, allocations: 131.4 kB / 1.341 GB, free: 8.141 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/1.101, allocations: 478 kB / 1.341 GB, free: 7.676 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.101, allocations: 0 / 1.341 GB, free: 7.676 MB / 1.186 GB Notification: Performance of FrontEnd: time 8.11e-07/1.101, allocations: 0 / 1.341 GB, free: 7.676 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.101, allocations: 0 / 1.341 GB, free: 7.676 MB / 1.186 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.0009111/1.101, allocations: 0.5516 MB / 1.342 GB, free: 7.094 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.101, allocations: 12.03 kB / 1.342 GB, free: 7.082 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/1.102, allocations: 59.73 kB / 1.342 GB, free: 7.023 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/1.102, allocations: 267.9 kB / 1.342 GB, free: 6.738 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.102, allocations: 24.59 kB / 1.342 GB, free: 6.715 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/1.102, allocations: 24 kB / 1.342 GB, free: 6.691 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/1.103, allocations: 317 kB / 1.342 GB, free: 6.355 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.103, allocations: 0 / 1.342 GB, free: 6.355 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/1.103, allocations: 19.92 kB / 1.342 GB, free: 6.336 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.103, allocations: 8 kB / 1.342 GB, free: 6.328 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/1.103, allocations: 197.8 kB / 1.342 GB, free: 6.133 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.105, allocations: 1.125 MB / 1.344 GB, free: 4.953 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/1.105, allocations: 110.5 kB / 1.344 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/1.105, allocations: 91.98 kB / 1.344 GB, free: 4.746 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/1.106, allocations: 71.92 kB / 1.344 GB, free: 4.676 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.106, allocations: 38.55 kB / 1.344 GB, free: 4.629 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/1.106, allocations: 0 / 1.344 GB, free: 4.629 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007694/1.107, allocations: 269.6 kB / 1.344 GB, free: 4.359 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.107, allocations: 51.41 kB / 1.344 GB, free: 4.297 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/1.107, allocations: 237.8 kB / 1.344 GB, free: 4.055 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/1.107, allocations: 29.7 kB / 1.344 GB, free: 4.02 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.107, allocations: 184.2 kB / 1.345 GB, free: 3.836 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/1.107, allocations: 51.53 kB / 1.345 GB, free: 3.785 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/1.107, allocations: 37.7 kB / 1.345 GB, free: 3.742 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.107, allocations: 334.8 kB / 1.345 GB, free: 3.406 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/1.107, allocations: 63.86 kB / 1.345 GB, free: 3.344 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/1.108, allocations: 190.2 kB / 1.345 GB, free: 3.121 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/1.108, allocations: 176.9 kB / 1.345 GB, free: 2.93 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.108, allocations: 0 / 1.345 GB, free: 2.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004259/1.108, allocations: 217.2 kB / 1.346 GB, free: 2.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.108, allocations: 7.984 kB / 1.346 GB, free: 2.703 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.108, allocations: 4 kB / 1.346 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.109, allocations: 0 / 1.346 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.109, allocations: 31.98 kB / 1.346 GB, free: 2.668 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.109, allocations: 7.875 kB / 1.346 GB, free: 2.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/1.109, allocations: 28.03 kB / 1.346 GB, free: 2.633 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.109, allocations: 8 kB / 1.346 GB, free: 2.625 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.0001559/1.109, allocations: 145.8 kB / 1.346 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/1.109, allocations: 23.8 kB / 1.346 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/1.11, allocations: 211.3 kB / 1.346 GB, free: 2.234 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.11, allocations: 4 kB / 1.346 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.11, allocations: 0 / 1.346 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.11, allocations: 0 / 1.346 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/1.111, allocations: 0.5973 MB / 1.347 GB, free: 1.574 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.111, allocations: 48 / 1.347 GB, free: 1.574 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/1.111, allocations: 35.91 kB / 1.347 GB, free: 1.539 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.111, allocations: 0 / 1.347 GB, free: 1.539 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.111, allocations: 12.22 kB / 1.347 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.111, allocations: 7.938 kB / 1.347 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.111, allocations: 0 / 1.347 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/1.111, allocations: 333.2 kB / 1.347 GB, free: 1.156 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/1.111, allocations: 31.84 kB / 1.347 GB, free: 1.125 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/1.111, allocations: 4 kB / 1.347 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/1.111, allocations: 11.98 kB / 1.347 GB, free: 1.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/1.111, allocations: 15.92 kB / 1.347 GB, free: 1.094 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/1.111, allocations: 12 kB / 1.347 GB, free: 1.082 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001445/1.112, allocations: 161.2 kB / 1.347 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.112, allocations: 3.938 kB / 1.347 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003813/1.112, allocations: 79.78 kB / 1.347 GB, free: 0.8438 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.000226/1.112, allocations: 139.1 kB / 1.347 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004038/1.113, allocations: 151.8 kB / 1.348 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.113, allocations: 0 / 1.348 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/1.113, allocations: 84.56 kB / 1.348 GB, free: 476 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/1.113, allocations: 94.19 kB / 1.348 GB, free: 388 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/1.114, allocations: 0.5369 MB / 1.348 GB, free: 15.79 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/1.114, allocations: 167.5 kB / 1.348 GB, free: 15.61 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001358/1.115, allocations: 49.91 kB / 1.349 GB, free: 15.57 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/1.115, allocations: 24.5 kB / 1.349 GB, free: 15.54 MB / 1.201 GB Notification: Performance of SimCode: time 3.31e-07/1.115, allocations: 0 / 1.349 GB, free: 15.54 MB / 1.201 GB Notification: Performance of Templates: time 0.008555/1.123, allocations: 3.693 MB / 1.352 GB, free: 11.94 MB / 1.201 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 -s ida -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: 9.013347501051612]