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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 194.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.839/2.839, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001996, allocations: 63.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/0.7217, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2119/0.9336, allocations: 165.3 MB / 1.178 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008736/0.9423, allocations: 6.492 MB / 1.185 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.943, allocations: 11.94 kB / 1.185 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.9436, allocations: 143.1 kB / 1.185 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.946, allocations: 0.7938 MB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.947, allocations: 295.3 kB / 1.186 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.948, allocations: 0.7135 MB / 1.186 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.9485, allocations: 262.7 kB / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.9498, allocations: 0.541 MB / 1.187 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.9503, allocations: 294.8 kB / 1.188 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.9503, allocations: 20 kB / 1.188 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000755/0.9511, allocations: 355.1 kB / 1.188 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.9512, allocations: 115.6 kB / 1.188 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.9515, allocations: 167.1 kB / 1.188 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.9522, allocations: 482.4 kB / 1.189 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.9522, allocations: 4 kB / 1.189 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9522, allocations: 0 / 1.189 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.9523, allocations: 0 / 1.189 GB, free: 2.156 MB / 0.9356 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.0009738/0.9532, allocations: 0.6117 MB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9533, allocations: 12.03 kB / 1.189 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.9537, allocations: 63.5 kB / 1.189 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.9541, allocations: 313.1 kB / 1.19 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.9541, allocations: 16.56 kB / 1.19 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.9542, allocations: 28 kB / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.9548, allocations: 319.7 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9548, allocations: 0 / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.9548, allocations: 12 kB / 1.19 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.9548, allocations: 8 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.9553, allocations: 197.5 kB / 1.19 GB, free: 488 kB / 0.9356 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.001752/0.957, allocations: 1.53 MB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.9573, allocations: 130.4 kB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.9575, allocations: 92.8 kB / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.9582, allocations: 311.2 kB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.9583, allocations: 30.56 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.9583, allocations: 0 / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007849/0.9591, allocations: 265.2 kB / 1.192 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.9591, allocations: 55.34 kB / 1.192 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.9595, allocations: 316.5 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.9595, allocations: 29.7 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.9597, allocations: 180.1 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.9597, allocations: 51.3 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.9598, allocations: 33.7 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.96, allocations: 338.8 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.9602, allocations: 59.95 kB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.9604, allocations: 114.2 kB / 1.194 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.9607, allocations: 184.9 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9607, allocations: 3.938 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004323/0.9612, allocations: 217 kB / 1.194 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9612, allocations: 4.156 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.9612, allocations: 4 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9612, allocations: 7.938 kB / 1.194 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.9614, allocations: 39.91 kB / 1.194 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9614, allocations: 4 kB / 1.194 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.9617, allocations: 27.83 kB / 1.194 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.9617, allocations: 8 kB / 1.194 GB, free: 12.18 MB / 0.9512 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.0001656/0.9619, allocations: 157.7 kB / 1.194 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.9619, allocations: 27.62 kB / 1.194 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.9624, allocations: 208.3 kB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9624, allocations: 0 / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9624, allocations: 0 / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.9625, allocations: 0 / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.9635, allocations: 0.6911 MB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.9636, allocations: 224 / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.9637, allocations: 35.91 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.9637, allocations: 4 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.9637, allocations: 8 kB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.9638, allocations: 7.938 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9638, allocations: 3.938 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.9642, allocations: 325.2 kB / 1.195 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.9644, allocations: 124.6 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.9644, allocations: 8 kB / 1.196 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.9646, allocations: 23.86 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.9647, allocations: 15.98 kB / 1.196 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.9647, allocations: 4 kB / 1.196 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002502/0.965, allocations: 227 kB / 1.196 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.965, allocations: 0 / 1.196 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003992/0.9654, allocations: 67.91 kB / 1.196 GB, free: 10.12 MB / 0.9512 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.0004614/0.9659, allocations: 157.8 kB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.9663, allocations: 171.3 kB / 1.196 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.9663, allocations: 4 kB / 1.196 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.9665, allocations: 75.89 kB / 1.196 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.9674, allocations: 158 kB / 1.196 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.9684, allocations: 0.6343 MB / 1.197 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.9689, allocations: 0.7795 MB / 1.198 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.9691, allocations: 66.92 kB / 1.198 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.9692, allocations: 23.44 kB / 1.198 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9692, allocations: 0 / 1.198 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of Templates: time 0.01173/0.9809, allocations: 5.037 MB / 1.203 GB, free: 3.047 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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) 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) Reference file matches