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.001437/0.001437, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001577/0.001577, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 2.938/2.938, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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.001914/0.001914, allocations: 65.77 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1792/0.4811, allocations: 171.2 MB / 1.521 GB, free: 12.09 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007489/0.4886, allocations: 6.642 MB / 1.528 GB, free: 5.434 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.4889, allocations: 19.81 kB / 1.528 GB, free: 5.414 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.4894, allocations: 174.7 kB / 1.528 GB, free: 5.242 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.4913, allocations: 0.883 MB / 1.529 GB, free: 4.355 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.4921, allocations: 342 kB / 1.529 GB, free: 4.023 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.4929, allocations: 0.7329 MB / 1.53 GB, free: 3.289 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.4933, allocations: 219.2 kB / 1.53 GB, free: 3.074 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.4946, allocations: 0.7318 MB / 1.531 GB, free: 2.34 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.495, allocations: 278.9 kB / 1.531 GB, free: 2.066 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.495, allocations: 24 kB / 1.531 GB, free: 2.043 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.4956, allocations: 363.1 kB / 1.531 GB, free: 1.688 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4957, allocations: 103.7 kB / 1.532 GB, free: 1.586 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.4959, allocations: 163.2 kB / 1.532 GB, free: 1.426 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.4965, allocations: 478.2 kB / 1.532 GB, free: 0.957 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4965, allocations: 0 / 1.532 GB, free: 0.957 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4965, allocations: 0 / 1.532 GB, free: 0.957 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.4965, allocations: 0 / 1.532 GB, free: 0.957 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.0008143/0.4973, allocations: 0.5516 MB / 1.533 GB, free: 384 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.4974, allocations: 12.03 kB / 1.533 GB, free: 372 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.4976, allocations: 63.73 kB / 1.533 GB, free: 308 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.4981, allocations: 255.6 kB / 1.533 GB, free: 28 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4981, allocations: 16.66 kB / 1.533 GB, free: 8 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.4982, allocations: 32.08 kB / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.4987, allocations: 320.9 kB / 1.533 GB, free: 15.63 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4987, allocations: 3.938 kB / 1.533 GB, free: 15.62 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4987, allocations: 12 kB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4987, allocations: 12 kB / 1.533 GB, free: 15.6 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.4991, allocations: 193.6 kB / 1.534 GB, free: 15.41 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.5006, allocations: 1.504 MB / 1.535 GB, free: 13.78 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.5009, allocations: 118.5 kB / 1.535 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.501, allocations: 84.75 kB / 1.535 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.5015, allocations: 71.91 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.5015, allocations: 42.55 kB / 1.535 GB, free: 13.45 MB / 1.232 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.5015, allocations: 0 / 1.535 GB, free: 13.45 MB / 1.232 GB Notification: Performance of matching and sorting (n=13): time 0.0007073/0.5022, allocations: 273.5 kB / 1.536 GB, free: 13.18 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5022, allocations: 55.41 kB / 1.536 GB, free: 13.11 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.5025, allocations: 304.6 kB / 1.536 GB, free: 12.8 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.5026, allocations: 37.69 kB / 1.536 GB, free: 12.76 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5027, allocations: 184.2 kB / 1.536 GB, free: 12.57 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.5027, allocations: 43.58 kB / 1.536 GB, free: 12.53 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.5028, allocations: 41.67 kB / 1.536 GB, free: 12.48 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5029, allocations: 338.8 kB / 1.537 GB, free: 12.14 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5031, allocations: 63.86 kB / 1.537 GB, free: 12.08 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.5033, allocations: 113.1 kB / 1.537 GB, free: 11.95 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.5036, allocations: 176.9 kB / 1.537 GB, free: 11.76 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5036, allocations: 3.938 kB / 1.537 GB, free: 11.76 MB / 1.232 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003925/0.504, allocations: 213.3 kB / 1.537 GB, free: 11.54 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.504, allocations: 4 kB / 1.537 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.504, allocations: 4 kB / 1.537 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.504, allocations: 8.094 kB / 1.537 GB, free: 11.53 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.5042, allocations: 39.97 kB / 1.537 GB, free: 11.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5042, allocations: 3.938 kB / 1.537 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.5044, allocations: 27.83 kB / 1.537 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.5044, allocations: 12 kB / 1.537 GB, free: 11.45 MB / 1.232 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.0001532/0.5045, allocations: 154.4 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.5046, allocations: 27.81 kB / 1.537 GB, free: 11.26 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.505, allocations: 216.1 kB / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.505, allocations: 0 / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.505, allocations: 4 kB / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.505, allocations: 0 / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.506, allocations: 0.6514 MB / 1.538 GB, free: 10.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.506, allocations: 4 kB / 1.538 GB, free: 10.31 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.5061, allocations: 27.92 kB / 1.538 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5061, allocations: 4 kB / 1.538 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5061, allocations: 8 kB / 1.538 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5062, allocations: 4.156 kB / 1.538 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.5062, allocations: 8 kB / 1.538 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.5066, allocations: 339 kB / 1.539 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.5067, allocations: 47.73 kB / 1.539 GB, free: 9.844 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5067, allocations: 4 kB / 1.539 GB, free: 9.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5069, allocations: 15.92 kB / 1.539 GB, free: 9.824 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.5069, allocations: 11.98 kB / 1.539 GB, free: 9.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.5069, allocations: 15.94 kB / 1.539 GB, free: 9.797 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002037/0.5071, allocations: 223 kB / 1.539 GB, free: 9.582 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5071, allocations: 0 / 1.539 GB, free: 9.582 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003437/0.5075, allocations: 75.89 kB / 1.539 GB, free: 9.508 MB / 1.232 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.0002164/0.5077, allocations: 131.1 kB / 1.539 GB, free: 9.367 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.5081, allocations: 155.8 kB / 1.539 GB, free: 9.215 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5081, allocations: 0 / 1.539 GB, free: 9.215 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.5082, allocations: 80.52 kB / 1.539 GB, free: 9.137 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.509, allocations: 167.4 kB / 1.539 GB, free: 8.98 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.5098, allocations: 0.5736 MB / 1.54 GB, free: 8.348 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5102, allocations: 0.7756 MB / 1.541 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.5103, allocations: 27.44 kB / 1.541 GB, free: 7.52 MB / 1.232 GB Notification: Performance of SimCode: time 2.9e-07/0.5103, allocations: 0 / 1.541 GB, free: 7.52 MB / 1.232 GB Notification: Performance of Templates: time 0.006768/0.517, allocations: 4.578 MB / 1.545 GB, free: 2.988 MB / 1.232 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: 11.108822001988301]