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.001317/0.001317, allocations: 116.1 kB / 17.13 MB, free: 5.945 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.001421/0.001421, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.862/2.862, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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.002011/0.002011, allocations: 67.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9971/0.9991, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.218/1.217, allocations: 171 MB / 1.489 GB, free: 10.67 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009013/1.226, allocations: 6.594 MB / 1.495 GB, free: 5.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/1.227, allocations: 24.53 kB / 1.495 GB, free: 5.324 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/1.227, allocations: 166 kB / 1.496 GB, free: 5.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/1.23, allocations: 0.8643 MB / 1.496 GB, free: 4.531 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/1.231, allocations: 341.5 kB / 1.497 GB, free: 4.281 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001163/1.232, allocations: 0.7106 MB / 1.497 GB, free: 3.871 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/1.233, allocations: 229 kB / 1.498 GB, free: 3.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/1.234, allocations: 0.7247 MB / 1.498 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/1.235, allocations: 268 kB / 1.499 GB, free: 3.117 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/1.235, allocations: 30.83 kB / 1.499 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000759/1.236, allocations: 348.8 kB / 1.499 GB, free: 2.926 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/1.236, allocations: 114.2 kB / 1.499 GB, free: 2.848 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/1.236, allocations: 158.4 kB / 1.499 GB, free: 2.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007741/1.237, allocations: 472.1 kB / 1.5 GB, free: 2.453 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.237, allocations: 5.219 kB / 1.5 GB, free: 2.449 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.843e-06/1.237, allocations: 0 / 1.5 GB, free: 2.449 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.704e-06/1.237, allocations: 0 / 1.5 GB, free: 2.449 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.001019/1.238, allocations: 0.6271 MB / 1.5 GB, free: 1.883 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.238, allocations: 12.64 kB / 1.5 GB, free: 1.879 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/1.238, allocations: 62.73 kB / 1.5 GB, free: 1.848 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/1.239, allocations: 328.9 kB / 1.501 GB, free: 1.539 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/1.239, allocations: 18.78 kB / 1.501 GB, free: 1.531 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/1.239, allocations: 25.22 kB / 1.501 GB, free: 1.523 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/1.239, allocations: 334.1 kB / 1.501 GB, free: 1.289 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.239, allocations: 0 / 1.501 GB, free: 1.289 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/1.24, allocations: 10.72 kB / 1.501 GB, free: 1.281 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.24, allocations: 7.031 kB / 1.501 GB, free: 1.281 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/1.24, allocations: 197.6 kB / 1.501 GB, free: 1.195 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.242, allocations: 1.543 MB / 1.503 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/1.242, allocations: 115.7 kB / 1.503 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/1.242, allocations: 83.11 kB / 1.503 GB, free: 15.62 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/1.243, allocations: 306.8 kB / 1.503 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/1.243, allocations: 38.81 kB / 1.503 GB, free: 15.25 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.243, allocations: 0 / 1.503 GB, free: 15.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.000817/1.244, allocations: 276.4 kB / 1.504 GB, free: 14.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.244, allocations: 51.41 kB / 1.504 GB, free: 14.92 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/1.244, allocations: 312.5 kB / 1.504 GB, free: 14.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/1.244, allocations: 25.7 kB / 1.504 GB, free: 14.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/1.244, allocations: 184.3 kB / 1.504 GB, free: 14.39 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/1.244, allocations: 47.58 kB / 1.504 GB, free: 14.34 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/1.244, allocations: 41.7 kB / 1.504 GB, free: 14.3 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.245, allocations: 338.8 kB / 1.505 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.245, allocations: 51.95 kB / 1.505 GB, free: 13.91 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/1.245, allocations: 120.9 kB / 1.505 GB, free: 13.77 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/1.245, allocations: 173 kB / 1.505 GB, free: 13.58 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.245, allocations: 3.938 kB / 1.505 GB, free: 13.58 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004539/1.246, allocations: 221.2 kB / 1.505 GB, free: 13.36 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.246, allocations: 8 kB / 1.505 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.246, allocations: 0 / 1.505 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.246, allocations: 4 kB / 1.505 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.246, allocations: 35.92 kB / 1.505 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/1.246, allocations: 7.984 kB / 1.505 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/1.246, allocations: 24 kB / 1.505 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/1.246, allocations: 15.98 kB / 1.505 GB, free: 13.26 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.0001727/1.246, allocations: 149.7 kB / 1.505 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/1.246, allocations: 31.81 kB / 1.505 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/1.247, allocations: 208.3 kB / 1.506 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.247, allocations: 4 kB / 1.506 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.247, allocations: 3.984 kB / 1.506 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.247, allocations: 4 kB / 1.506 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.248, allocations: 0.6797 MB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.248, allocations: 4 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/1.248, allocations: 27.92 kB / 1.506 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.248, allocations: 4 kB / 1.506 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.248, allocations: 7.938 kB / 1.506 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.248, allocations: 3.938 kB / 1.506 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.248, allocations: 4 kB / 1.506 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/1.249, allocations: 333.4 kB / 1.507 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/1.249, allocations: 128.8 kB / 1.507 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/1.249, allocations: 4 kB / 1.507 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/1.249, allocations: 15.92 kB / 1.507 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/1.249, allocations: 15.92 kB / 1.507 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.249, allocations: 4 kB / 1.507 GB, free: 11.49 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000241/1.249, allocations: 227 kB / 1.507 GB, free: 11.27 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.249, allocations: 0 / 1.507 GB, free: 11.27 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004152/1.25, allocations: 71.89 kB / 1.507 GB, free: 11.2 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.0002863/1.25, allocations: 135.1 kB / 1.507 GB, free: 11.06 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004584/1.251, allocations: 163.8 kB / 1.507 GB, free: 10.9 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.251, allocations: 0 / 1.507 GB, free: 10.9 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/1.251, allocations: 79.83 kB / 1.507 GB, free: 10.82 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/1.252, allocations: 165 kB / 1.508 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.253, allocations: 0.5807 MB / 1.508 GB, free: 10.04 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.253, allocations: 0.7717 MB / 1.509 GB, free: 9.234 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/1.253, allocations: 27.44 kB / 1.509 GB, free: 9.207 MB / 1.186 GB Notification: Performance of SimCode: time 2.8e-07/1.253, allocations: 0 / 1.509 GB, free: 9.207 MB / 1.186 GB Notification: Performance of Templates: time 0.008195/1.261, allocations: 4.581 MB / 1.513 GB, free: 4.672 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.364672001000145]