Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.423/2.423, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001159/0.001159, allocations: 187.9 kB / 0.4902 GB, free: 2.191 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.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0009343/0.0009343, allocations: 93.41 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004043, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.099/5.437, allocations: 1.868 GB / 3.097 GB, free: 84.66 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000479/5.438, allocations: 89.92 kB / 3.097 GB, free: 84.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.598/7.037, allocations: 300.8 MB / 3.391 GB, free: 260.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.909e-06/7.037, allocations: 3.984 kB / 3.391 GB, free: 260.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.697e-05/7.037, allocations: 12 kB / 3.391 GB, free: 260.8 MB / 1.167 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.002539/7.039, allocations: 0.6897 MB / 3.392 GB, free: 260.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/7.039, allocations: 12.77 kB / 3.392 GB, free: 260 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006058/7.04, allocations: 61.12 kB / 3.392 GB, free: 260 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008638/7.041, allocations: 321.9 kB / 3.392 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/7.041, allocations: 20.56 kB / 3.392 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/7.041, allocations: 24 kB / 3.392 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/7.042, allocations: 315.9 kB / 3.393 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/7.042, allocations: 0 / 3.393 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/7.042, allocations: 15.98 kB / 3.393 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/7.042, allocations: 4 kB / 3.393 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/7.042, allocations: 209.5 kB / 3.393 GB, free: 259 MB / 1.167 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.001717/7.044, allocations: 1.527 MB / 3.394 GB, free: 257.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/7.044, allocations: 114.5 kB / 3.394 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/7.045, allocations: 303.2 kB / 3.395 GB, free: 256.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/7.045, allocations: 38.56 kB / 3.395 GB, free: 256.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/7.045, allocations: 0 / 3.395 GB, free: 256.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0008198/7.046, allocations: 272.2 kB / 3.395 GB, free: 256.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/7.046, allocations: 59.39 kB / 3.395 GB, free: 256.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/7.046, allocations: 271.7 kB / 3.395 GB, free: 256.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/7.046, allocations: 33.7 kB / 3.395 GB, free: 256.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/7.046, allocations: 180.1 kB / 3.396 GB, free: 256 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/7.046, allocations: 43.36 kB / 3.396 GB, free: 256 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/7.046, allocations: 7.938 kB / 3.396 GB, free: 256 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002161/7.047, allocations: 338.8 kB / 3.396 GB, free: 255.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/7.047, allocations: 63.95 kB / 3.396 GB, free: 255.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/7.047, allocations: 120.2 kB / 3.396 GB, free: 255.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/7.047, allocations: 71.89 kB / 3.396 GB, free: 255.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/7.047, allocations: 4 kB / 3.396 GB, free: 255.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004112/7.048, allocations: 221.1 kB / 3.396 GB, free: 255.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/7.048, allocations: 4 kB / 3.396 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/7.048, allocations: 4 kB / 3.396 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/7.048, allocations: 0 / 3.396 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/7.048, allocations: 36.14 kB / 3.396 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/7.048, allocations: 7.938 kB / 3.396 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/7.048, allocations: 43.66 kB / 3.396 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/7.048, allocations: 11.95 kB / 3.396 GB, free: 255 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001898/7.048, allocations: 149.8 kB / 3.397 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/7.049, allocations: 31.66 kB / 3.397 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/7.049, allocations: 208.5 kB / 3.397 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/7.049, allocations: 0 / 3.397 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/7.049, allocations: 4.062 kB / 3.397 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/7.049, allocations: 11.98 kB / 3.397 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/7.05, allocations: 0.6717 MB / 3.397 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/7.05, allocations: 4 kB / 3.397 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/7.05, allocations: 31.92 kB / 3.398 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/7.05, allocations: 4 kB / 3.398 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/7.05, allocations: 8.172 kB / 3.398 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/7.05, allocations: 8 kB / 3.398 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/7.05, allocations: 0 / 3.398 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/7.051, allocations: 421.1 kB / 3.398 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/7.051, allocations: 120.7 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/7.051, allocations: 4 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/7.051, allocations: 27.97 kB / 3.398 GB, free: 253.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/7.051, allocations: 4 kB / 3.398 GB, free: 253.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/7.051, allocations: 11.98 kB / 3.398 GB, free: 253.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002152/7.052, allocations: 215.1 kB / 3.398 GB, free: 252.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.803e-06/7.052, allocations: 4 kB / 3.398 GB, free: 252.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001244/7.053, allocations: 183.8 kB / 3.398 GB, free: 252.7 MB / 1.167 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 (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.002445/7.055, allocations: 1.192 MB / 3.4 GB, free: 251.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004685/7.056, allocations: 155.8 kB / 3.4 GB, free: 251.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/7.056, allocations: 4 kB / 3.4 GB, free: 251.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/7.056, allocations: 88.64 kB / 3.4 GB, free: 251.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/7.057, allocations: 149.6 kB / 3.4 GB, free: 251.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/7.058, allocations: 0.6241 MB / 3.401 GB, free: 250.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/7.059, allocations: 0.7875 MB / 3.401 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002156/7.059, allocations: 58.92 kB / 3.401 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/7.059, allocations: 19.44 kB / 3.401 GB, free: 249.6 MB / 1.167 GB Notification: Performance of SimCode: time 6.01e-07/7.059, allocations: 8 kB / 3.401 GB, free: 249.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03089/7.09, allocations: 19.34 MB / 3.42 GB, free: 230.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches