Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 187.6 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.915/0.917, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2082/1.125, allocations: 168.3 MB / 1.383 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009868/1.135, allocations: 6.639 MB / 1.389 GB, free: 7.719 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/1.136, allocations: 23.81 kB / 1.389 GB, free: 7.695 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007267/1.136, allocations: 166.7 kB / 1.389 GB, free: 7.531 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/1.139, allocations: 0.8986 MB / 1.39 GB, free: 6.629 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/1.14, allocations: 340.3 kB / 1.391 GB, free: 6.301 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001192/1.141, allocations: 0.7369 MB / 1.391 GB, free: 5.562 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/1.142, allocations: 226 kB / 1.392 GB, free: 5.344 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/1.143, allocations: 0.5799 MB / 1.392 GB, free: 4.762 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/1.144, allocations: 283 kB / 1.392 GB, free: 4.484 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/1.144, allocations: 24 kB / 1.392 GB, free: 4.461 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008573/1.145, allocations: 363.1 kB / 1.393 GB, free: 4.105 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/1.145, allocations: 115.6 kB / 1.393 GB, free: 3.992 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/1.145, allocations: 159.2 kB / 1.393 GB, free: 3.836 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008747/1.146, allocations: 474 kB / 1.394 GB, free: 3.375 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.146, allocations: 0 / 1.394 GB, free: 3.375 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.054e-06/1.146, allocations: 4 kB / 1.394 GB, free: 3.371 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.384e-05/1.146, allocations: 0 / 1.394 GB, free: 3.371 MB / 1.092 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.001066/1.147, allocations: 0.6307 MB / 1.394 GB, free: 2.691 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.147, allocations: 8.031 kB / 1.394 GB, free: 2.684 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/1.148, allocations: 63.73 kB / 1.394 GB, free: 2.621 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/1.148, allocations: 329.3 kB / 1.395 GB, free: 2.262 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/1.148, allocations: 20.59 kB / 1.395 GB, free: 2.238 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/1.148, allocations: 28 kB / 1.395 GB, free: 2.211 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/1.149, allocations: 320.9 kB / 1.395 GB, free: 1.871 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/1.149, allocations: 3.938 kB / 1.395 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/1.149, allocations: 12 kB / 1.395 GB, free: 1.855 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/1.149, allocations: 8 kB / 1.395 GB, free: 1.848 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/1.149, allocations: 201.5 kB / 1.395 GB, free: 1.652 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/1.151, allocations: 1.538 MB / 1.397 GB, free: 15.98 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/1.151, allocations: 118.5 kB / 1.397 GB, free: 15.85 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/1.152, allocations: 84.8 kB / 1.397 GB, free: 15.77 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/1.152, allocations: 303.2 kB / 1.397 GB, free: 15.41 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/1.152, allocations: 38.48 kB / 1.397 GB, free: 15.37 MB / 1.108 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/1.152, allocations: 0 / 1.397 GB, free: 15.37 MB / 1.108 GB Notification: Performance of matching and sorting (n=13): time 0.0008239/1.153, allocations: 273.6 kB / 1.397 GB, free: 15.09 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/1.153, allocations: 55.41 kB / 1.397 GB, free: 15.03 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/1.154, allocations: 308.5 kB / 1.398 GB, free: 14.72 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/1.154, allocations: 25.7 kB / 1.398 GB, free: 14.69 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/1.154, allocations: 188.2 kB / 1.398 GB, free: 14.5 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/1.154, allocations: 43.58 kB / 1.398 GB, free: 14.46 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/1.154, allocations: 45.66 kB / 1.398 GB, free: 14.41 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.154, allocations: 334.8 kB / 1.398 GB, free: 14.07 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/1.154, allocations: 59.95 kB / 1.398 GB, free: 14.01 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/1.154, allocations: 113 kB / 1.398 GB, free: 13.88 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/1.155, allocations: 180.9 kB / 1.399 GB, free: 13.69 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.155, allocations: 3.938 kB / 1.399 GB, free: 13.68 MB / 1.108 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004593/1.155, allocations: 213.3 kB / 1.399 GB, free: 13.47 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.155, allocations: 6.656 kB / 1.399 GB, free: 13.46 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.155, allocations: 4 kB / 1.399 GB, free: 13.46 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.155, allocations: 0 / 1.399 GB, free: 13.46 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/1.156, allocations: 35.92 kB / 1.399 GB, free: 13.43 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.156, allocations: 7.969 kB / 1.399 GB, free: 13.42 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/1.156, allocations: 28 kB / 1.399 GB, free: 13.39 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/1.156, allocations: 15.92 kB / 1.399 GB, free: 13.38 MB / 1.108 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.0001671/1.156, allocations: 157.7 kB / 1.399 GB, free: 13.21 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/1.156, allocations: 27.81 kB / 1.399 GB, free: 13.18 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/1.156, allocations: 215.8 kB / 1.399 GB, free: 12.97 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.156, allocations: 0 / 1.399 GB, free: 12.97 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.157, allocations: 3.984 kB / 1.399 GB, free: 12.96 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.157, allocations: 4 kB / 1.399 GB, free: 12.96 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/1.158, allocations: 0.6837 MB / 1.4 GB, free: 12.2 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.158, allocations: 0 / 1.4 GB, free: 12.2 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/1.158, allocations: 31.92 kB / 1.4 GB, free: 12.17 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.158, allocations: 0 / 1.4 GB, free: 12.17 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.158, allocations: 4 kB / 1.4 GB, free: 12.16 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.158, allocations: 7.938 kB / 1.4 GB, free: 12.16 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.158, allocations: 0 / 1.4 GB, free: 12.16 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/1.158, allocations: 341.3 kB / 1.4 GB, free: 11.79 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/1.159, allocations: 128.8 kB / 1.401 GB, free: 11.64 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/1.159, allocations: 4 kB / 1.401 GB, free: 11.64 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.159, allocations: 15.92 kB / 1.401 GB, free: 11.62 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/1.159, allocations: 15.92 kB / 1.401 GB, free: 11.61 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/1.159, allocations: 4 kB / 1.401 GB, free: 11.6 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0002454/1.159, allocations: 227 kB / 1.401 GB, free: 11.38 MB / 1.108 GB Notification: Performance of sort global known variables: time 1e-07/1.159, allocations: 0 / 1.401 GB, free: 11.38 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0004052/1.159, allocations: 71.89 kB / 1.401 GB, free: 11.31 MB / 1.108 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.0003977/1.16, allocations: 154.1 kB / 1.401 GB, free: 11.15 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.0004745/1.16, allocations: 151.8 kB / 1.401 GB, free: 11 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.16, allocations: 0 / 1.401 GB, free: 11 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/1.16, allocations: 87.81 kB / 1.401 GB, free: 10.92 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/1.161, allocations: 152.9 kB / 1.401 GB, free: 10.77 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.162, allocations: 0.5456 MB / 1.402 GB, free: 10.18 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/1.163, allocations: 0.7795 MB / 1.403 GB, free: 9.379 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0002113/1.163, allocations: 66.91 kB / 1.403 GB, free: 9.309 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/1.163, allocations: 23.44 kB / 1.403 GB, free: 9.289 MB / 1.108 GB Notification: Performance of SimCode: time 6.21e-07/1.163, allocations: 0 / 1.403 GB, free: 9.289 MB / 1.108 GB Notification: Performance of Templates: time 0.01219/1.175, allocations: 5.248 MB / 1.408 GB, free: 4.121 MB / 1.108 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.37739497423172]