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.008769/0.008769, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001839/0.001839, allocations: 191.4 kB / 16.67 MB, free: 5.93 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.482/2.482, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8796/0.8808, allocations: 151.6 MB / 1.167 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1945/1.075, allocations: 167.5 MB / 1.33 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008427/1.084, allocations: 6.559 MB / 1.337 GB, free: 5.008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/1.084, allocations: 11.94 kB / 1.337 GB, free: 4.996 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/1.085, allocations: 170.7 kB / 1.337 GB, free: 4.828 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/1.087, allocations: 0.844 MB / 1.338 GB, free: 3.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/1.088, allocations: 325.2 kB / 1.338 GB, free: 3.664 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008692/1.089, allocations: 0.7135 MB / 1.339 GB, free: 2.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/1.09, allocations: 286.7 kB / 1.339 GB, free: 2.668 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/1.091, allocations: 0.5448 MB / 1.339 GB, free: 2.121 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/1.091, allocations: 270.9 kB / 1.34 GB, free: 1.855 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/1.091, allocations: 20 kB / 1.34 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/1.092, allocations: 339.2 kB / 1.34 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/1.092, allocations: 111.6 kB / 1.34 GB, free: 1.395 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/1.093, allocations: 163.2 kB / 1.34 GB, free: 1.234 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007371/1.093, allocations: 474.9 kB / 1.341 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/1.093, allocations: 4 kB / 1.341 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.093, allocations: 4 kB / 1.341 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.093, allocations: 0 / 1.341 GB, free: 0.7656 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.00107/1.094, allocations: 0.6229 MB / 1.341 GB, free: 96 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.094, allocations: 8.031 kB / 1.341 GB, free: 88 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/1.095, allocations: 59.73 kB / 1.341 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/1.095, allocations: 341.3 kB / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.095, allocations: 20.56 kB / 1.342 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/1.095, allocations: 24 kB / 1.342 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/1.096, allocations: 315.7 kB / 1.342 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.096, allocations: 4 kB / 1.342 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/1.096, allocations: 8 kB / 1.342 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.096, allocations: 8 kB / 1.342 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/1.096, allocations: 201.6 kB / 1.342 GB, free: 15.06 MB / 1.076 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.001631/1.098, allocations: 1.535 MB / 1.344 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/1.098, allocations: 123.9 kB / 1.344 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/1.099, allocations: 92.8 kB / 1.344 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/1.099, allocations: 311.2 kB / 1.344 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/1.099, allocations: 30.56 kB / 1.344 GB, free: 12.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/1.099, allocations: 3.938 kB / 1.344 GB, free: 12.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.000992/1.1, allocations: 281.6 kB / 1.345 GB, free: 12.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/1.1, allocations: 55.41 kB / 1.345 GB, free: 12.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/1.101, allocations: 308.5 kB / 1.345 GB, free: 12.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.101, allocations: 25.7 kB / 1.345 GB, free: 12.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/1.101, allocations: 184.3 kB / 1.345 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/1.101, allocations: 47.58 kB / 1.345 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/1.101, allocations: 45.66 kB / 1.345 GB, free: 11.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.101, allocations: 334.8 kB / 1.346 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.102, allocations: 59.95 kB / 1.346 GB, free: 11.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/1.102, allocations: 113 kB / 1.346 GB, free: 11.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/1.102, allocations: 173 kB / 1.346 GB, free: 11.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.102, allocations: 3.938 kB / 1.346 GB, free: 11.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000579/1.103, allocations: 221.3 kB / 1.346 GB, free: 10.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.103, allocations: 4 kB / 1.346 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.103, allocations: 4 kB / 1.346 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.103, allocations: 0 / 1.346 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.103, allocations: 35.92 kB / 1.346 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.103, allocations: 0 / 1.346 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/1.103, allocations: 35.98 kB / 1.346 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.103, allocations: 4 kB / 1.346 GB, free: 10.78 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.0001922/1.104, allocations: 157.7 kB / 1.346 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/1.104, allocations: 31.81 kB / 1.346 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/1.104, allocations: 205.8 kB / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.104, allocations: 0 / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.104, allocations: 4 kB / 1.347 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.104, allocations: 8 kB / 1.347 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/1.106, allocations: 0.6758 MB / 1.347 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.106, allocations: 3.984 kB / 1.347 GB, free: 9.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/1.106, allocations: 35.92 kB / 1.347 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.106, allocations: 0 / 1.347 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.106, allocations: 4 kB / 1.347 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.106, allocations: 7.938 kB / 1.347 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.106, allocations: 0 / 1.347 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/1.107, allocations: 345.4 kB / 1.348 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/1.107, allocations: 124.8 kB / 1.348 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/1.107, allocations: 4 kB / 1.348 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/1.107, allocations: 15.92 kB / 1.348 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/1.107, allocations: 19.86 kB / 1.348 GB, free: 9.004 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/1.107, allocations: 8 kB / 1.348 GB, free: 8.996 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003018/1.108, allocations: 223 kB / 1.348 GB, free: 8.777 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 0 / 1.348 GB, free: 8.777 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005219/1.108, allocations: 79.83 kB / 1.348 GB, free: 8.699 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.0004465/1.109, allocations: 138.8 kB / 1.348 GB, free: 8.559 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005417/1.109, allocations: 167.8 kB / 1.348 GB, free: 8.395 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.109, allocations: 0 / 1.348 GB, free: 8.395 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/1.109, allocations: 79.83 kB / 1.348 GB, free: 8.316 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.111, allocations: 159.2 kB / 1.349 GB, free: 8.168 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.112, allocations: 0.544 MB / 1.349 GB, free: 7.578 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.112, allocations: 0.7834 MB / 1.35 GB, free: 6.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000234/1.112, allocations: 58.94 kB / 1.35 GB, free: 6.711 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/1.113, allocations: 23.44 kB / 1.35 GB, free: 6.688 MB / 1.076 GB Notification: Performance of SimCode: time 2.7e-07/1.113, allocations: 0 / 1.35 GB, free: 6.688 MB / 1.076 GB Notification: Performance of Templates: time 0.01193/1.124, allocations: 5.159 MB / 1.355 GB, free: 1.613 MB / 1.076 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=480 -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