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.04/2.04, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.0009701/0.0009701, allocations: 180.9 kB / 487.4 MB, free: 5.016 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.395/1.395, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008821, allocations: 95.89 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.993e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2765, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.206/4.483, allocations: 1.867 GB / 3.073 GB, free: 14.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/4.483, allocations: 85.83 kB / 3.073 GB, free: 14.43 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.115/5.598, allocations: 296.9 MB / 3.363 GB, free: 181.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/5.598, allocations: 0 / 3.363 GB, free: 181.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.618e-05/5.598, allocations: 19.92 kB / 3.363 GB, free: 181.8 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.001179/5.599, allocations: 0.647 MB / 3.363 GB, free: 181.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/5.599, allocations: 8.031 kB / 3.363 GB, free: 181.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/5.6, allocations: 59.59 kB / 3.363 GB, free: 181.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/5.6, allocations: 313.9 kB / 3.364 GB, free: 180.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/5.6, allocations: 11.95 kB / 3.364 GB, free: 180.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/5.6, allocations: 16 kB / 3.364 GB, free: 180.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002544/5.6, allocations: 141.1 kB / 3.364 GB, free: 180.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/5.601, allocations: 262.6 kB / 3.364 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/5.601, allocations: 4 kB / 3.364 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/5.601, allocations: 3.938 kB / 3.364 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/5.601, allocations: 4 kB / 3.364 GB, free: 180.3 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.001133/5.602, allocations: 1.456 MB / 3.365 GB, free: 178.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/5.602, allocations: 82.56 kB / 3.366 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/5.602, allocations: 64.84 kB / 3.366 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004472/5.603, allocations: 303.2 kB / 3.366 GB, free: 178.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/5.603, allocations: 38.5 kB / 3.366 GB, free: 178.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/5.603, allocations: 0 / 3.366 GB, free: 178.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.000518/5.603, allocations: 194.7 kB / 3.366 GB, free: 177.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/5.603, allocations: 51.41 kB / 3.366 GB, free: 177.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/5.603, allocations: 194.1 kB / 3.366 GB, free: 177.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/5.603, allocations: 25.7 kB / 3.366 GB, free: 177.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/5.603, allocations: 199.8 kB / 3.367 GB, free: 177.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/5.603, allocations: 39.45 kB / 3.367 GB, free: 177.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/5.603, allocations: 0 / 3.367 GB, free: 177.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/5.603, allocations: 327.7 kB / 3.367 GB, free: 177.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/5.604, allocations: 43.98 kB / 3.367 GB, free: 177 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/5.604, allocations: 102.8 kB / 3.367 GB, free: 176.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/5.604, allocations: 83.83 kB / 3.367 GB, free: 176.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/5.604, allocations: 0 / 3.367 GB, free: 176.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002837/5.604, allocations: 201.2 kB / 3.367 GB, free: 176.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/5.604, allocations: 4 kB / 3.367 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/5.604, allocations: 7.938 kB / 3.367 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/5.604, allocations: 0 / 3.367 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/5.604, allocations: 35.92 kB / 3.367 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/5.604, allocations: 4 kB / 3.367 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/5.605, allocations: 31.97 kB / 3.367 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/5.605, allocations: 12 kB / 3.367 GB, free: 176.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 5.972e-05/5.605, allocations: 112.9 kB / 3.368 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/5.605, allocations: 19.72 kB / 3.368 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/5.605, allocations: 188.5 kB / 3.368 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/5.605, allocations: 0 / 3.368 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/5.605, allocations: 0 / 3.368 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/5.605, allocations: 8 kB / 3.368 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/5.606, allocations: 0.6101 MB / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/5.606, allocations: 8.031 kB / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/5.606, allocations: 35.92 kB / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/5.606, allocations: 0 / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/5.606, allocations: 4 kB / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/5.606, allocations: 4 kB / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/5.606, allocations: 0 / 3.368 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/5.606, allocations: 424.7 kB / 3.369 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/5.606, allocations: 112.8 kB / 3.369 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/5.606, allocations: 128 / 3.369 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/5.607, allocations: 23.98 kB / 3.369 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/5.607, allocations: 15.94 kB / 3.369 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/5.607, allocations: 4 kB / 3.369 GB, free: 174.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.11e-05/5.607, allocations: 154 kB / 3.369 GB, free: 174.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/5.607, allocations: 0 / 3.369 GB, free: 174.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005972/5.607, allocations: 155.7 kB / 3.369 GB, free: 174.5 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.001897/5.609, allocations: 1.344 MB / 3.371 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002135/5.609, allocations: 115.8 kB / 3.371 GB, free: 173 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.609, allocations: 320 / 3.371 GB, free: 173 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/5.61, allocations: 67.84 kB / 3.371 GB, free: 172.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/5.61, allocations: 78.3 kB / 3.371 GB, free: 172.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/5.611, allocations: 352.8 kB / 3.371 GB, free: 172.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/5.611, allocations: 0.7867 MB / 3.372 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001692/5.611, allocations: 50.16 kB / 3.372 GB, free: 171.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/5.611, allocations: 23.38 kB / 3.372 GB, free: 171.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.611, allocations: 0 / 3.372 GB, free: 171.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01407/5.625, allocations: 10.1 MB / 3.382 GB, free: 161.5 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