Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0009024/0.0009023, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006346/0.006346, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 8.188 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.746, allocations: 142.4 MB / 0.955 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1928/0.9388, allocations: 163.1 MB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007922/0.9468, allocations: 6.466 MB / 1.121 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.9472, allocations: 11.94 kB / 1.121 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.9477, allocations: 123.1 kB / 1.121 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.9497, allocations: 0.7938 MB / 1.122 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.9505, allocations: 293.8 kB / 1.122 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.9515, allocations: 1.014 MB / 1.123 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.9519, allocations: 226.1 kB / 1.123 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.953, allocations: 0.5135 MB / 1.124 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.9534, allocations: 274.9 kB / 1.124 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.9535, allocations: 12 kB / 1.124 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007691/0.9542, allocations: 399 kB / 1.124 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.9544, allocations: 91.72 kB / 1.124 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.9546, allocations: 176.9 kB / 1.124 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.9552, allocations: 474.4 kB / 1.125 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9553, allocations: 4 kB / 1.125 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9553, allocations: 0 / 1.125 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9553, allocations: 0 / 1.125 GB, free: 1.043 MB / 0.8731 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.0008368/0.9561, allocations: 0.5649 MB / 1.125 GB, free: 440 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9562, allocations: 8.031 kB / 1.125 GB, free: 432 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.9565, allocations: 67.44 kB / 1.126 GB, free: 364 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.9569, allocations: 309.3 kB / 1.126 GB, free: 12 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.9569, allocations: 20.61 kB / 1.126 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.957, allocations: 27.94 kB / 1.126 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.9576, allocations: 319.7 kB / 1.126 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.9577, allocations: 3.938 kB / 1.126 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.9577, allocations: 12 kB / 1.126 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.9577, allocations: 8 kB / 1.126 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.9581, allocations: 209.5 kB / 1.126 GB, free: 15.4 MB / 0.8887 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.001618/0.9598, allocations: 1.546 MB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.96, allocations: 118.5 kB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.9603, allocations: 100.8 kB / 1.128 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.9609, allocations: 319.2 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.9609, allocations: 34.55 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 4.319e-06/0.9609, allocations: 0 / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.00079/0.9617, allocations: 285.4 kB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.9618, allocations: 51.41 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.9622, allocations: 320.5 kB / 1.129 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9622, allocations: 25.7 kB / 1.129 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.9624, allocations: 180.1 kB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.9624, allocations: 47.45 kB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.9625, allocations: 21.7 kB / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9626, allocations: 338.8 kB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.9628, allocations: 63.95 kB / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.963, allocations: 126.3 kB / 1.13 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.9634, allocations: 185 kB / 1.13 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9634, allocations: 0 / 1.13 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004344/0.9638, allocations: 233.2 kB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9638, allocations: 8 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.9639, allocations: 0 / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9639, allocations: 4 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.9641, allocations: 35.92 kB / 1.13 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9641, allocations: 3.938 kB / 1.13 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.9643, allocations: 43.78 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.9643, allocations: 12 kB / 1.13 GB, free: 11.04 MB / 0.8887 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.0001389/0.9645, allocations: 149.8 kB / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.9645, allocations: 23.72 kB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.965, allocations: 230.3 kB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.965, allocations: 0 / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.965, allocations: 4 kB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.965, allocations: 0 / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.966, allocations: 0.6952 MB / 1.131 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9661, allocations: 4 kB / 1.131 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.9662, allocations: 31.92 kB / 1.131 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9662, allocations: 4 kB / 1.131 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.9662, allocations: 7.938 kB / 1.131 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9662, allocations: 4 kB / 1.131 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9663, allocations: 4 kB / 1.131 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.9667, allocations: 349.2 kB / 1.132 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.9668, allocations: 112.8 kB / 1.132 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.9669, allocations: 11.92 kB / 1.132 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.9671, allocations: 19.98 kB / 1.132 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.9671, allocations: 15.98 kB / 1.132 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.9672, allocations: 7.938 kB / 1.132 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002143/0.9674, allocations: 223 kB / 1.132 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9674, allocations: 0 / 1.132 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003831/0.9678, allocations: 75.83 kB / 1.132 GB, free: 8.945 MB / 0.8887 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.0003546/0.9681, allocations: 154.4 kB / 1.132 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.9686, allocations: 171.3 kB / 1.133 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9686, allocations: 0 / 1.133 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.9688, allocations: 92.56 kB / 1.133 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.9697, allocations: 156.5 kB / 1.133 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.9707, allocations: 0.6496 MB / 1.133 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.971, allocations: 0.7797 MB / 1.134 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.9712, allocations: 58.92 kB / 1.134 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.9713, allocations: 23.44 kB / 1.134 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.9713, allocations: 0 / 1.134 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of Templates: time 0.009487/0.9808, allocations: 4.847 MB / 1.139 GB, free: 2.035 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches