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.001674/0.001674, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002044/0.002044, allocations: 156 kB / 23.01 MB, free: 4.605 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.672/2.672, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 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.003624/0.003624, allocations: 67.89 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3358, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8414/1.177, allocations: 147.8 MB / 1.262 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008822/1.186, allocations: 6.012 MB / 1.268 GB, free: 8.41 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005071/1.186, allocations: 20.31 kB / 1.268 GB, free: 8.398 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000668/1.187, allocations: 178.4 kB / 1.268 GB, free: 8.281 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/1.19, allocations: 0.8497 MB / 1.269 GB, free: 7.848 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/1.192, allocations: 335.5 kB / 1.269 GB, free: 7.688 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001526/1.193, allocations: 0.7334 MB / 1.27 GB, free: 7.355 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/1.194, allocations: 217.9 kB / 1.27 GB, free: 7.258 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/1.196, allocations: 0.567 MB / 1.27 GB, free: 7.008 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/1.196, allocations: 271.6 kB / 1.271 GB, free: 6.91 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/1.197, allocations: 22 kB / 1.271 GB, free: 6.91 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/1.197, allocations: 299.5 kB / 1.271 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/1.197, allocations: 109.2 kB / 1.271 GB, free: 6.762 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/1.198, allocations: 135.3 kB / 1.271 GB, free: 6.695 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/1.199, allocations: 472.5 kB / 1.272 GB, free: 6.523 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.199, allocations: 0 / 1.272 GB, free: 6.523 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.824e-06/1.199, allocations: 1.094 kB / 1.272 GB, free: 6.523 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.52e-05/1.199, allocations: 0 / 1.272 GB, free: 6.523 MB / 1.123 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.001261/1.2, allocations: 0.5489 MB / 1.272 GB, free: 6.09 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.2, allocations: 9.406 kB / 1.272 GB, free: 6.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/1.201, allocations: 60.08 kB / 1.272 GB, free: 6.07 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/1.201, allocations: 277.5 kB / 1.273 GB, free: 5.855 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/1.201, allocations: 19.19 kB / 1.273 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/1.201, allocations: 26.03 kB / 1.273 GB, free: 5.836 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/1.202, allocations: 321.6 kB / 1.273 GB, free: 5.656 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.202, allocations: 0 / 1.273 GB, free: 5.656 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/1.202, allocations: 15.66 kB / 1.273 GB, free: 5.645 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/1.202, allocations: 10.16 kB / 1.273 GB, free: 5.641 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/1.203, allocations: 197.8 kB / 1.273 GB, free: 5.586 MB / 1.123 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.002032/1.205, allocations: 1.128 MB / 1.274 GB, free: 4.688 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/1.205, allocations: 114.8 kB / 1.274 GB, free: 4.633 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/1.206, allocations: 85.78 kB / 1.274 GB, free: 4.602 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/1.206, allocations: 75.31 kB / 1.275 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.206, allocations: 38.08 kB / 1.275 GB, free: 4.551 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/1.206, allocations: 0 / 1.275 GB, free: 4.551 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.001114/1.208, allocations: 264.8 kB / 1.275 GB, free: 4.453 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.208, allocations: 53.61 kB / 1.275 GB, free: 4.391 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/1.208, allocations: 231.8 kB / 1.275 GB, free: 4.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/1.208, allocations: 27.11 kB / 1.275 GB, free: 4.219 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/1.208, allocations: 196.2 kB / 1.275 GB, free: 4.055 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/1.208, allocations: 49.12 kB / 1.275 GB, free: 4.016 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.208, allocations: 43.59 kB / 1.275 GB, free: 3.984 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.209, allocations: 330.9 kB / 1.276 GB, free: 3.664 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/1.209, allocations: 58.72 kB / 1.276 GB, free: 3.648 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/1.209, allocations: 190 kB / 1.276 GB, free: 3.488 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/1.21, allocations: 179.4 kB / 1.276 GB, free: 3.387 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.21, allocations: 0 / 1.276 GB, free: 3.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004948/1.21, allocations: 215.1 kB / 1.276 GB, free: 3.293 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.21, allocations: 6.312 kB / 1.276 GB, free: 3.293 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.21, allocations: 5.562 kB / 1.276 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.21, allocations: 3.188 kB / 1.276 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/1.21, allocations: 34.2 kB / 1.276 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.21, allocations: 3.328 kB / 1.276 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.211, allocations: 23.23 kB / 1.276 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/1.211, allocations: 6.766 kB / 1.276 GB, free: 3.273 MB / 1.123 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.0002236/1.211, allocations: 149.8 kB / 1.277 GB, free: 3.141 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/1.211, allocations: 25.83 kB / 1.277 GB, free: 3.125 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/1.212, allocations: 205.2 kB / 1.277 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/1.212, allocations: 2.344 kB / 1.277 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.212, allocations: 0 / 1.277 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.212, allocations: 0.7031 kB / 1.277 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.213, allocations: 0.6096 MB / 1.277 GB, free: 2.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.213, allocations: 2.016 kB / 1.277 GB, free: 2.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.213, allocations: 34.64 kB / 1.277 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.213, allocations: 2.594 kB / 1.277 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/1.213, allocations: 3 kB / 1.277 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.213, allocations: 3.672 kB / 1.277 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.213, allocations: 5.406 kB / 1.277 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/1.214, allocations: 335.6 kB / 1.278 GB, free: 2.352 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.214, allocations: 32.27 kB / 1.278 GB, free: 2.336 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/1.214, allocations: 8.156 kB / 1.278 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/1.214, allocations: 7.484 kB / 1.278 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/1.214, allocations: 23.67 kB / 1.278 GB, free: 2.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.214, allocations: 4.406 kB / 1.278 GB, free: 2.32 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002156/1.215, allocations: 161.1 kB / 1.278 GB, free: 2.223 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.215, allocations: 0 / 1.278 GB, free: 2.223 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006624/1.215, allocations: 80.36 kB / 1.278 GB, free: 2.203 MB / 1.123 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.0002932/1.216, allocations: 134.4 kB / 1.278 GB, free: 2.102 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000445/1.216, allocations: 157.4 kB / 1.278 GB, free: 2.055 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.216, allocations: 320 / 1.278 GB, free: 2.055 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.216, allocations: 86.69 kB / 1.278 GB, free: 2.027 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/1.217, allocations: 97.09 kB / 1.278 GB, free: 1.996 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/1.218, allocations: 0.5342 MB / 1.279 GB, free: 1.637 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.218, allocations: 175.2 kB / 1.279 GB, free: 1.551 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001722/1.218, allocations: 50.5 kB / 1.279 GB, free: 1.547 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/1.218, allocations: 24.03 kB / 1.279 GB, free: 1.535 MB / 1.123 GB Notification: Performance of SimCode: time 4.51e-07/1.218, allocations: 0 / 1.279 GB, free: 1.535 MB / 1.123 GB Notification: Performance of Templates: time 0.009398/1.228, allocations: 3.682 MB / 1.283 GB, free: 1.141 MB / 1.123 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 -s ida -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: 8.934043035027571]