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.001298/0.001298, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001378/0.001378, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002122/0.002122, allocations: 71.88 kB / 1.057 GB, free: 2.074 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 160.7 MB / 1.214 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9806/1.339, allocations: 168.1 MB / 1.378 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009041/1.348, allocations: 6.564 MB / 1.385 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/1.349, allocations: 16.66 kB / 1.385 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006475/1.35, allocations: 172.8 kB / 1.385 GB, free: 6.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/1.352, allocations: 0.883 MB / 1.386 GB, free: 5.625 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/1.353, allocations: 333.9 kB / 1.386 GB, free: 5.465 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001048/1.354, allocations: 0.7184 MB / 1.387 GB, free: 5.121 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/1.355, allocations: 243.5 kB / 1.387 GB, free: 4.965 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/1.356, allocations: 0.5611 MB / 1.387 GB, free: 4.617 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/1.357, allocations: 283.1 kB / 1.388 GB, free: 4.453 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/1.357, allocations: 23.16 kB / 1.388 GB, free: 4.453 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008566/1.358, allocations: 366.6 kB / 1.388 GB, free: 4.254 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/1.358, allocations: 109.9 kB / 1.388 GB, free: 4.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/1.358, allocations: 162 kB / 1.388 GB, free: 4.078 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007908/1.359, allocations: 473.2 kB / 1.389 GB, free: 3.781 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.359, allocations: 5.109 kB / 1.389 GB, free: 3.777 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.994e-06/1.359, allocations: 0 / 1.389 GB, free: 3.777 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.359, allocations: 0 / 1.389 GB, free: 3.777 MB / 1.061 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.001009/1.36, allocations: 0.6246 MB / 1.389 GB, free: 3.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.36, allocations: 9.469 kB / 1.389 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/1.36, allocations: 63.23 kB / 1.39 GB, free: 3.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/1.361, allocations: 335.8 kB / 1.39 GB, free: 2.863 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/1.361, allocations: 19.88 kB / 1.39 GB, free: 2.855 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/1.361, allocations: 29.41 kB / 1.39 GB, free: 2.844 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/1.361, allocations: 312.4 kB / 1.39 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.361, allocations: 5 kB / 1.39 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.362, allocations: 11.34 kB / 1.39 GB, free: 2.613 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.362, allocations: 6.656 kB / 1.39 GB, free: 2.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/1.362, allocations: 205.9 kB / 1.39 GB, free: 2.52 MB / 1.061 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.001763/1.364, allocations: 1.543 MB / 1.392 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/1.364, allocations: 106.2 kB / 1.392 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.364, allocations: 87.98 kB / 1.392 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/1.365, allocations: 302.2 kB / 1.392 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.365, allocations: 36.78 kB / 1.392 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/1.365, allocations: 0 / 1.392 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008087/1.366, allocations: 273.5 kB / 1.393 GB, free: 464 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.366, allocations: 57.72 kB / 1.393 GB, free: 396 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/1.366, allocations: 306.1 kB / 1.393 GB, free: 192 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/1.366, allocations: 35.09 kB / 1.393 GB, free: 152 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/1.366, allocations: 181.1 kB / 1.393 GB, free: 15.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/1.366, allocations: 45.97 kB / 1.393 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/1.366, allocations: 38.89 kB / 1.393 GB, free: 15.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.367, allocations: 346.5 kB / 1.394 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.367, allocations: 58.89 kB / 1.394 GB, free: 15.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/1.367, allocations: 114 kB / 1.394 GB, free: 15.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/1.367, allocations: 178.2 kB / 1.394 GB, free: 15.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.367, allocations: 1.094 kB / 1.394 GB, free: 15.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004667/1.368, allocations: 220.3 kB / 1.394 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.368, allocations: 5.781 kB / 1.394 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.368, allocations: 1.188 kB / 1.394 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.368, allocations: 2.188 kB / 1.394 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/1.368, allocations: 38.38 kB / 1.394 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.368, allocations: 2.188 kB / 1.394 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.368, allocations: 30.61 kB / 1.394 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/1.368, allocations: 9.688 kB / 1.394 GB, free: 15.18 MB / 1.076 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.0001628/1.369, allocations: 152.8 kB / 1.394 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/1.369, allocations: 28.38 kB / 1.394 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/1.369, allocations: 211.2 kB / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.369, allocations: 5.5 kB / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.369, allocations: 0 / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.369, allocations: 0 / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.37, allocations: 0.6814 MB / 1.395 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.37, allocations: 1.469 kB / 1.395 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.37, allocations: 33.92 kB / 1.395 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.37, allocations: 2.719 kB / 1.395 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.37, allocations: 7.188 kB / 1.395 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.37, allocations: 10.33 kB / 1.395 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.37, allocations: 2.719 kB / 1.395 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/1.371, allocations: 335.1 kB / 1.396 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/1.371, allocations: 127.5 kB / 1.396 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/1.371, allocations: 3.156 kB / 1.396 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/1.371, allocations: 17.69 kB / 1.396 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/1.371, allocations: 10.02 kB / 1.396 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/1.371, allocations: 13.53 kB / 1.396 GB, free: 13.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000242/1.372, allocations: 220.5 kB / 1.396 GB, free: 13.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.372, allocations: 0 / 1.396 GB, free: 13.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004323/1.372, allocations: 79.2 kB / 1.396 GB, free: 13.7 MB / 1.076 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.0004428/1.372, allocations: 163.5 kB / 1.396 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004322/1.373, allocations: 155.2 kB / 1.396 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.373, allocations: 0 / 1.396 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/1.373, allocations: 83.28 kB / 1.397 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/1.374, allocations: 158.5 kB / 1.397 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.375, allocations: 0.5641 MB / 1.397 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/1.375, allocations: 0.7777 MB / 1.398 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/1.375, allocations: 35.17 kB / 1.398 GB, free: 12.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.375, allocations: 5.094 kB / 1.398 GB, free: 12.21 MB / 1.076 GB Notification: Performance of Templates: time 0.008397/1.384, allocations: 4.587 MB / 1.402 GB, free: 9.852 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.482996999984607]