Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001624/0.001624, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.002065/0.002065, allocations: 216.8 kB / 23.01 MB, free: 4.594 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7714 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_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_11_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.002316/0.002316, allocations: 68.94 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3492, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2102/0.5594, allocations: 171.2 MB / 1.452 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008387/0.5678, allocations: 6.635 MB / 1.458 GB, free: 8.773 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005186/0.5683, allocations: 19.81 kB / 1.458 GB, free: 8.754 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.5689, allocations: 170.7 kB / 1.458 GB, free: 8.586 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.5712, allocations: 0.8908 MB / 1.459 GB, free: 7.691 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009845/0.5722, allocations: 346.8 kB / 1.46 GB, free: 7.355 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000957/0.5732, allocations: 0.7368 MB / 1.46 GB, free: 6.613 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.5736, allocations: 223.2 kB / 1.461 GB, free: 6.395 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.575, allocations: 0.576 MB / 1.461 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.5756, allocations: 290.9 kB / 1.461 GB, free: 5.531 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.5757, allocations: 20 kB / 1.461 GB, free: 5.512 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.5767, allocations: 375.1 kB / 1.462 GB, free: 5.145 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.5769, allocations: 111.6 kB / 1.462 GB, free: 5.035 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.5771, allocations: 163.2 kB / 1.462 GB, free: 4.875 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.578, allocations: 470.2 kB / 1.462 GB, free: 4.414 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.578, allocations: 0 / 1.462 GB, free: 4.414 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.875e-06/0.578, allocations: 0 / 1.462 GB, free: 4.414 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.578, allocations: 4 kB / 1.463 GB, free: 4.41 MB / 1.154 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.001049/0.5791, allocations: 0.5515 MB / 1.463 GB, free: 3.828 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5791, allocations: 8.031 kB / 1.463 GB, free: 3.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.5795, allocations: 67.67 kB / 1.463 GB, free: 3.754 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.5801, allocations: 263.6 kB / 1.463 GB, free: 3.473 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5802, allocations: 20.66 kB / 1.463 GB, free: 3.449 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.5802, allocations: 24 kB / 1.463 GB, free: 3.426 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.5808, allocations: 320.9 kB / 1.464 GB, free: 3.086 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5809, allocations: 0 / 1.464 GB, free: 3.086 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.5809, allocations: 11.94 kB / 1.464 GB, free: 3.074 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5809, allocations: 11.94 kB / 1.464 GB, free: 3.062 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.5813, allocations: 205.5 kB / 1.464 GB, free: 2.859 MB / 1.154 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.001989/0.5833, allocations: 1.5 MB / 1.465 GB, free: 1.234 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.5836, allocations: 114.5 kB / 1.466 GB, free: 1.113 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.5838, allocations: 84.8 kB / 1.466 GB, free: 1.027 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.5843, allocations: 75.92 kB / 1.466 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.5844, allocations: 34.55 kB / 1.466 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.5844, allocations: 0 / 1.466 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0007916/0.5852, allocations: 266.2 kB / 1.466 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.5852, allocations: 55.66 kB / 1.466 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.5856, allocations: 312.5 kB / 1.466 GB, free: 268 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.5856, allocations: 29.7 kB / 1.466 GB, free: 232 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5858, allocations: 184.2 kB / 1.466 GB, free: 44 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.5858, allocations: 51.77 kB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.5859, allocations: 33.7 kB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5861, allocations: 342.8 kB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.5862, allocations: 59.95 kB / 1.467 GB, free: 15.55 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.5864, allocations: 115.2 kB / 1.467 GB, free: 15.42 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.5867, allocations: 184.9 kB / 1.467 GB, free: 15.22 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5867, allocations: 3.75 kB / 1.467 GB, free: 15.22 MB / 1.17 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004198/0.5872, allocations: 217.3 kB / 1.467 GB, free: 15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5872, allocations: 4 kB / 1.467 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5872, allocations: 4 kB / 1.467 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5872, allocations: 0 / 1.467 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5874, allocations: 31.98 kB / 1.468 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5874, allocations: 7.922 kB / 1.468 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.5876, allocations: 27.84 kB / 1.468 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.5876, allocations: 11.92 kB / 1.468 GB, free: 14.92 MB / 1.17 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.0001523/0.5877, allocations: 153.9 kB / 1.468 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.5878, allocations: 27.81 kB / 1.468 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.5882, allocations: 211.2 kB / 1.468 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5883, allocations: 3.984 kB / 1.468 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5883, allocations: 0 / 1.468 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5883, allocations: 0 / 1.468 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5893, allocations: 0.6514 MB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5893, allocations: 12.16 kB / 1.469 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.5894, allocations: 31.91 kB / 1.469 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.5895, allocations: 4 kB / 1.469 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.5895, allocations: 7.938 kB / 1.469 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.5895, allocations: 4 kB / 1.469 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5895, allocations: 7.938 kB / 1.469 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.5899, allocations: 341.2 kB / 1.469 GB, free: 13.35 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.59, allocations: 43.73 kB / 1.469 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.5901, allocations: 11.94 kB / 1.469 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.5902, allocations: 11.98 kB / 1.469 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.5903, allocations: 11.98 kB / 1.469 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.5903, allocations: 8 kB / 1.469 GB, free: 13.27 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002443/0.5905, allocations: 223 kB / 1.469 GB, free: 13.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5905, allocations: 0 / 1.469 GB, free: 13.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000378/0.5909, allocations: 75.83 kB / 1.469 GB, free: 12.98 MB / 1.17 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.0002687/0.5912, allocations: 131.7 kB / 1.469 GB, free: 12.84 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.5916, allocations: 152 kB / 1.47 GB, free: 12.69 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5916, allocations: 4.062 kB / 1.47 GB, free: 12.68 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.5918, allocations: 79.83 kB / 1.47 GB, free: 12.61 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.5926, allocations: 151.5 kB / 1.47 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.5935, allocations: 0.5892 MB / 1.47 GB, free: 11.81 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.594, allocations: 0.7756 MB / 1.471 GB, free: 11.01 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.594, allocations: 23.44 kB / 1.471 GB, free: 10.99 MB / 1.17 GB Notification: Performance of SimCode: time 4.71e-07/0.594, allocations: 0 / 1.471 GB, free: 10.99 MB / 1.17 GB Notification: Performance of Templates: time 0.007995/0.602, allocations: 4.589 MB / 1.476 GB, free: 6.453 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.26467605200014]