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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 180.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009017, allocations: 96.22 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.36e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2977, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.421/5.719, allocations: 1.867 GB / 3.08 GB, free: 359.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/5.719, allocations: 92.77 kB / 3.08 GB, free: 359.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5967/6.316, allocations: 300.5 MB / 3.373 GB, free: 116.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.975e-06/6.316, allocations: 0 / 3.373 GB, free: 116.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.447e-05/6.316, allocations: 12 kB / 3.373 GB, free: 116.1 MB / 1.151 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.002059/6.318, allocations: 0.6547 MB / 3.374 GB, free: 115.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/6.318, allocations: 8.031 kB / 3.374 GB, free: 115.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/6.319, allocations: 59.58 kB / 3.374 GB, free: 115.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/6.32, allocations: 317.9 kB / 3.374 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/6.32, allocations: 20.56 kB / 3.374 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/6.32, allocations: 32 kB / 3.374 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/6.321, allocations: 291.7 kB / 3.375 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/6.321, allocations: 4 kB / 3.375 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/6.321, allocations: 8 kB / 3.375 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/6.321, allocations: 8 kB / 3.375 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/6.321, allocations: 169.6 kB / 3.375 GB, free: 114.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001897/6.323, allocations: 1.523 MB / 3.376 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/6.323, allocations: 104.4 kB / 3.376 GB, free: 112.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/6.323, allocations: 68.84 kB / 3.376 GB, free: 112.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/6.324, allocations: 303.2 kB / 3.377 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/6.324, allocations: 34.56 kB / 3.377 GB, free: 112.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 3.697e-06/6.324, allocations: 0 / 3.377 GB, free: 112.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0005159/6.324, allocations: 173.5 kB / 3.377 GB, free: 112 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/6.324, allocations: 55.41 kB / 3.377 GB, free: 111.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/6.325, allocations: 278.7 kB / 3.377 GB, free: 111.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/6.325, allocations: 29.7 kB / 3.377 GB, free: 111.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/6.325, allocations: 180.1 kB / 3.377 GB, free: 111.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/6.325, allocations: 43.44 kB / 3.377 GB, free: 111.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/6.325, allocations: 4 kB / 3.377 GB, free: 111.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/6.325, allocations: 338.8 kB / 3.378 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/6.325, allocations: 44.02 kB / 3.378 GB, free: 111 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/6.325, allocations: 116.1 kB / 3.378 GB, free: 110.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/6.325, allocations: 55.97 kB / 3.378 GB, free: 110.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/6.325, allocations: 3.953 kB / 3.378 GB, free: 110.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002736/6.326, allocations: 185.1 kB / 3.378 GB, free: 110.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/6.326, allocations: 4 kB / 3.378 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/6.326, allocations: 4 kB / 3.378 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/6.326, allocations: 0 / 3.378 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/6.326, allocations: 44.08 kB / 3.378 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/6.326, allocations: 4 kB / 3.378 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/6.326, allocations: 39.66 kB / 3.378 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/6.326, allocations: 12 kB / 3.378 GB, free: 110.5 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/6.326, allocations: 112.9 kB / 3.378 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/6.326, allocations: 31.67 kB / 3.378 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/6.327, allocations: 172.6 kB / 3.379 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/6.327, allocations: 4 kB / 3.379 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/6.327, allocations: 3.938 kB / 3.379 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/6.327, allocations: 0 / 3.379 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/6.327, allocations: 0.6405 MB / 3.379 GB, free: 109.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/6.327, allocations: 4 kB / 3.379 GB, free: 109.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/6.328, allocations: 31.92 kB / 3.379 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/6.328, allocations: 0 / 3.379 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/6.328, allocations: 7.984 kB / 3.379 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/6.328, allocations: 4 kB / 3.379 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/6.328, allocations: 4.219 kB / 3.379 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/6.328, allocations: 390.8 kB / 3.38 GB, free: 109 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/6.328, allocations: 120.8 kB / 3.38 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/6.328, allocations: 4 kB / 3.38 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/6.328, allocations: 23.97 kB / 3.38 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/6.328, allocations: 19.88 kB / 3.38 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/6.328, allocations: 8 kB / 3.38 GB, free: 108.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000182/6.329, allocations: 218.2 kB / 3.38 GB, free: 108.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.493e-06/6.329, allocations: 4 kB / 3.38 GB, free: 108.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001011/6.33, allocations: 187.7 kB / 3.38 GB, free: 108.4 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002302/6.332, allocations: 1.184 MB / 3.381 GB, free: 107.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002781/6.332, allocations: 117.1 kB / 3.381 GB, free: 107 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/6.332, allocations: 0 / 3.381 GB, free: 107 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/6.332, allocations: 71.84 kB / 3.382 GB, free: 107 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/6.333, allocations: 141.9 kB / 3.382 GB, free: 106.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/6.334, allocations: 372.5 kB / 3.382 GB, free: 106.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/6.334, allocations: 0.7875 MB / 3.383 GB, free: 105.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002471/6.335, allocations: 58.94 kB / 3.383 GB, free: 105.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/6.335, allocations: 19.44 kB / 3.383 GB, free: 105.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.1e-07/6.335, allocations: 0 / 3.383 GB, free: 105.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02827/6.363, allocations: 22.6 MB / 3.405 GB, free: 82.97 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches