Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 170.2 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 90.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.738e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2545, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.366/6.62, allocations: 2.181 GB / 3.073 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/6.621, allocations: 82.83 kB / 3.073 GB, free: 148 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.378/7.998, allocations: 412.5 MB / 3.476 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.323e-06/7.998, allocations: 0 / 3.476 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.939e-05/7.998, allocations: 19.98 kB / 3.476 GB, free: 78.76 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002569/8.001, allocations: 0.9916 MB / 3.477 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/8.001, allocations: 8.031 kB / 3.477 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/8.003, allocations: 286.9 kB / 3.477 GB, free: 77.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/8.004, allocations: 456.2 kB / 3.478 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/8.004, allocations: 33 kB / 3.478 GB, free: 76.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/8.004, allocations: 51.88 kB / 3.478 GB, free: 76.85 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/8.005, allocations: 0.4919 MB / 3.478 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/8.005, allocations: 0 / 3.478 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/8.005, allocations: 19.94 kB / 3.478 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/8.005, allocations: 12 kB / 3.478 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/8.006, allocations: 350.9 kB / 3.479 GB, free: 75.95 MB / 0.8698 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.002418/8.008, allocations: 2.146 MB / 3.481 GB, free: 73.67 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/8.009, allocations: 314.7 kB / 3.481 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/8.009, allocations: 184.7 kB / 3.481 GB, free: 73.17 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/8.01, allocations: 392.4 kB / 3.482 GB, free: 72.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/8.01, allocations: 235 kB / 3.482 GB, free: 72.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/8.01, allocations: 0 / 3.482 GB, free: 72.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0008976/8.011, allocations: 413.5 kB / 3.482 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/8.011, allocations: 63.34 kB / 3.482 GB, free: 71.99 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/8.012, allocations: 423.9 kB / 3.483 GB, free: 71.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/8.012, allocations: 41.69 kB / 3.483 GB, free: 71.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/8.012, allocations: 260.4 kB / 3.483 GB, free: 71.26 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/8.012, allocations: 126.3 kB / 3.483 GB, free: 71.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/8.012, allocations: 4 kB / 3.483 GB, free: 71.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/8.012, allocations: 370.7 kB / 3.483 GB, free: 70.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/8.012, allocations: 152.9 kB / 3.484 GB, free: 70.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/8.013, allocations: 274.8 kB / 3.484 GB, free: 70.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/8.013, allocations: 231 kB / 3.484 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/8.013, allocations: 4 kB / 3.484 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007847/8.014, allocations: 0.5468 MB / 3.485 GB, free: 69.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/8.014, allocations: 59.41 kB / 3.485 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.014, allocations: 4 kB / 3.485 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/8.014, allocations: 8 kB / 3.485 GB, free: 69.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/8.014, allocations: 108.2 kB / 3.485 GB, free: 69.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/8.014, allocations: 4 kB / 3.485 GB, free: 69.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/8.015, allocations: 99.38 kB / 3.485 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/8.015, allocations: 24 kB / 3.485 GB, free: 69.17 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001148/8.015, allocations: 140.7 kB / 3.485 GB, free: 69.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/8.015, allocations: 55.34 kB / 3.485 GB, free: 68.97 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/8.016, allocations: 446.2 kB / 3.485 GB, free: 68.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/8.016, allocations: 7.938 kB / 3.485 GB, free: 68.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/8.016, allocations: 8 kB / 3.485 GB, free: 68.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/8.016, allocations: 3.984 kB / 3.485 GB, free: 68.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/8.018, allocations: 1.238 MB / 3.487 GB, free: 67.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/8.018, allocations: 11.89 kB / 3.487 GB, free: 67.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/8.018, allocations: 84.31 kB / 3.487 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/8.018, allocations: 4 kB / 3.487 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/8.018, allocations: 16 kB / 3.487 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/8.018, allocations: 4 kB / 3.487 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.018, allocations: 7.938 kB / 3.487 GB, free: 67.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/8.019, allocations: 0.9494 MB / 3.488 GB, free: 65.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/8.019, allocations: 176.3 kB / 3.488 GB, free: 65.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/8.019, allocations: 11.94 kB / 3.488 GB, free: 65.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/8.02, allocations: 56.02 kB / 3.488 GB, free: 65.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/8.02, allocations: 59.81 kB / 3.488 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/8.02, allocations: 12 kB / 3.488 GB, free: 65.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003507/8.02, allocations: 333.6 kB / 3.488 GB, free: 65.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/8.02, allocations: 0 / 3.488 GB, free: 65.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001314/8.022, allocations: 291.8 kB / 3.489 GB, free: 65.01 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001991/8.024, allocations: 1.48 MB / 3.49 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007665/8.024, allocations: 494.4 kB / 3.491 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/8.024, allocations: 0 / 3.491 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/8.025, allocations: 237.4 kB / 3.491 GB, free: 62.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/8.026, allocations: 271.5 kB / 3.491 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/8.028, allocations: 0.8048 MB / 3.492 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/8.028, allocations: 0.8785 MB / 3.493 GB, free: 60.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005177/8.028, allocations: 128.7 kB / 3.493 GB, free: 60.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/8.029, allocations: 47.38 kB / 3.493 GB, free: 60.52 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/8.029, allocations: 0 / 3.493 GB, free: 60.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.03949/8.068, allocations: 31.14 MB / 3.523 GB, free: 29.43 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches