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.54/2.54, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001423/0.001423, allocations: 181 kB / 498.1 MB, free: 5.684 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.637/1.637, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001071/0.001072, allocations: 102.9 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003457, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.538/4.84, allocations: 1.867 GB / 3.09 GB, free: 148.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/4.841, allocations: 87.95 kB / 3.09 GB, free: 148.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.333/6.174, allocations: 300.8 MB / 3.384 GB, free: 315.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/6.174, allocations: 0 / 3.384 GB, free: 315.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.823e-05/6.174, allocations: 15.92 kB / 3.384 GB, free: 315.1 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.001517/6.176, allocations: 0.6896 MB / 3.385 GB, free: 314.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/6.176, allocations: 12.03 kB / 3.385 GB, free: 314.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/6.176, allocations: 54 kB / 3.385 GB, free: 314.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/6.177, allocations: 325.8 kB / 3.385 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/6.177, allocations: 24.52 kB / 3.385 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/6.177, allocations: 24 kB / 3.385 GB, free: 313.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/6.177, allocations: 315.7 kB / 3.385 GB, free: 313.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/6.177, allocations: 0 / 3.385 GB, free: 313.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/6.177, allocations: 12 kB / 3.385 GB, free: 313.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/6.177, allocations: 12 kB / 3.385 GB, free: 313.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/6.178, allocations: 205.5 kB / 3.386 GB, free: 313.4 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.001385/6.179, allocations: 1.527 MB / 3.387 GB, free: 311.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/6.179, allocations: 122.5 kB / 3.387 GB, free: 311.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/6.18, allocations: 299.3 kB / 3.388 GB, free: 311.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/6.18, allocations: 30.56 kB / 3.388 GB, free: 311.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/6.18, allocations: 4 kB / 3.388 GB, free: 311.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0006966/6.18, allocations: 269.4 kB / 3.388 GB, free: 310.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/6.18, allocations: 51.41 kB / 3.388 GB, free: 310.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/6.181, allocations: 275.7 kB / 3.388 GB, free: 310.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/6.181, allocations: 29.7 kB / 3.388 GB, free: 310.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/6.181, allocations: 184 kB / 3.388 GB, free: 310.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/6.181, allocations: 51.3 kB / 3.388 GB, free: 310.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/6.181, allocations: 4 kB / 3.388 GB, free: 310.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/6.181, allocations: 342.8 kB / 3.389 GB, free: 310 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/6.181, allocations: 59.89 kB / 3.389 GB, free: 309.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/6.181, allocations: 119.8 kB / 3.389 GB, free: 309.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/6.181, allocations: 75.95 kB / 3.389 GB, free: 309.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/6.181, allocations: 0 / 3.389 GB, free: 309.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003919/6.182, allocations: 221.1 kB / 3.389 GB, free: 309.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/6.182, allocations: 12.16 kB / 3.389 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/6.182, allocations: 0 / 3.389 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/6.182, allocations: 4 kB / 3.389 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/6.182, allocations: 35.92 kB / 3.389 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/6.182, allocations: 3.984 kB / 3.389 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/6.182, allocations: 47.72 kB / 3.389 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/6.182, allocations: 8 kB / 3.389 GB, free: 309.4 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.0001349/6.183, allocations: 154.7 kB / 3.389 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/6.183, allocations: 23.72 kB / 3.389 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/6.183, allocations: 220 kB / 3.39 GB, free: 309 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/6.183, allocations: 0 / 3.39 GB, free: 309 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/6.183, allocations: 0 / 3.39 GB, free: 309 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/6.183, allocations: 3.984 kB / 3.39 GB, free: 309 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008798/6.184, allocations: 0.6756 MB / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/6.184, allocations: 0 / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/6.184, allocations: 28.2 kB / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/6.184, allocations: 8 kB / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/6.184, allocations: 4 kB / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/6.184, allocations: 4 kB / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/6.184, allocations: 11.89 kB / 3.39 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/6.185, allocations: 417.1 kB / 3.391 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/6.185, allocations: 112.8 kB / 3.391 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/6.185, allocations: 8.125 kB / 3.391 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/6.185, allocations: 31.88 kB / 3.391 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/6.185, allocations: 15.92 kB / 3.391 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/6.185, allocations: 7.938 kB / 3.391 GB, free: 307.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001913/6.185, allocations: 223.6 kB / 3.391 GB, free: 307.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/6.185, allocations: 0 / 3.391 GB, free: 307.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008659/6.186, allocations: 179.9 kB / 3.391 GB, free: 307.1 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.001941/6.188, allocations: 1.201 MB / 3.393 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003783/6.188, allocations: 151.8 kB / 3.393 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/6.188, allocations: 320 / 3.393 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/6.189, allocations: 87.83 kB / 3.393 GB, free: 305.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/6.189, allocations: 135.6 kB / 3.393 GB, free: 305.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/6.19, allocations: 0.6213 MB / 3.394 GB, free: 304.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/6.19, allocations: 0.7836 MB / 3.394 GB, free: 304 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002217/6.191, allocations: 63.05 kB / 3.394 GB, free: 303.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/6.191, allocations: 27.38 kB / 3.394 GB, free: 303.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.3e-07/6.191, allocations: 0 / 3.394 GB, free: 303.9 MB / 1.167 GB Notification: Performance of Templates: time 0.0252/6.216, allocations: 19.34 MB / 3.413 GB, free: 284.6 MB / 1.167 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