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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.926 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.001112/0.001112, allocations: 176.9 kB / 316.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 0.5672 GB, free: 15.89 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.0009569/0.0009569, allocations: 100.8 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.843e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.36/6.588, allocations: 2.182 GB / 3.067 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/6.589, allocations: 84.33 kB / 3.067 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.346/7.935, allocations: 407.2 MB / 3.465 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/7.935, allocations: 3.938 kB / 3.465 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.39e-05/7.935, allocations: 16 kB / 3.465 GB, free: 124.3 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.002261/7.937, allocations: 0.9885 MB / 3.465 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/7.937, allocations: 16.03 kB / 3.466 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/7.939, allocations: 275 kB / 3.466 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/7.94, allocations: 464.4 kB / 3.466 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/7.94, allocations: 19.98 kB / 3.466 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/7.94, allocations: 28 kB / 3.466 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005267/7.941, allocations: 314.5 kB / 3.467 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/7.941, allocations: 449.1 kB / 3.467 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/7.941, allocations: 0 / 3.467 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/7.941, allocations: 0 / 3.467 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/7.941, allocations: 12 kB / 3.467 GB, free: 121.7 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.002159/7.943, allocations: 2.036 MB / 3.469 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/7.944, allocations: 306.6 kB / 3.469 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/7.944, allocations: 170 kB / 3.469 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/7.945, allocations: 392.4 kB / 3.47 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/7.945, allocations: 235.8 kB / 3.47 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/7.945, allocations: 0 / 3.47 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001069/7.946, allocations: 452.3 kB / 3.47 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/7.946, allocations: 59.41 kB / 3.471 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/7.946, allocations: 313.1 kB / 3.471 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/7.947, allocations: 29.7 kB / 3.471 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/7.947, allocations: 275.9 kB / 3.471 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8e-05/7.947, allocations: 114.3 kB / 3.471 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/7.947, allocations: 0 / 3.471 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/7.947, allocations: 354.8 kB / 3.472 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/7.947, allocations: 137 kB / 3.472 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/7.947, allocations: 266.6 kB / 3.472 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/7.948, allocations: 219.7 kB / 3.472 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/7.948, allocations: 4 kB / 3.472 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007837/7.949, allocations: 0.5081 MB / 3.473 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/7.949, allocations: 65.11 kB / 3.473 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/7.949, allocations: 4 kB / 3.473 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/7.949, allocations: 4 kB / 3.473 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/7.949, allocations: 108.2 kB / 3.473 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/7.949, allocations: 4 kB / 3.473 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/7.95, allocations: 75.53 kB / 3.473 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/7.95, allocations: 27.94 kB / 3.473 GB, free: 115.3 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.0001139/7.95, allocations: 124.8 kB / 3.473 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/7.95, allocations: 51.38 kB / 3.473 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/7.951, allocations: 462.3 kB / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/7.951, allocations: 0 / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/7.951, allocations: 4 kB / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/7.951, allocations: 3.984 kB / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/7.952, allocations: 1.199 MB / 3.475 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/7.952, allocations: 4 kB / 3.475 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/7.953, allocations: 84.33 kB / 3.475 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/7.953, allocations: 4 kB / 3.475 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/7.953, allocations: 11.98 kB / 3.475 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/7.953, allocations: 4 kB / 3.475 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/7.953, allocations: 11.89 kB / 3.475 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/7.954, allocations: 0.9643 MB / 3.476 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/7.954, allocations: 164.4 kB / 3.476 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/7.954, allocations: 8 kB / 3.476 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/7.955, allocations: 51.95 kB / 3.476 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/7.955, allocations: 47.89 kB / 3.476 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/7.955, allocations: 23.98 kB / 3.476 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001761/7.955, allocations: 231 kB / 3.476 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/7.955, allocations: 3.938 kB / 3.476 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008898/7.956, allocations: 243.7 kB / 3.477 GB, free: 111.3 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.002288/7.958, allocations: 1.652 MB / 3.478 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006314/7.959, allocations: 466.2 kB / 3.479 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/7.959, allocations: 4 kB / 3.479 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/7.959, allocations: 229 kB / 3.479 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/7.96, allocations: 189.8 kB / 3.479 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/7.962, allocations: 0.7773 MB / 3.48 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/7.962, allocations: 0.8781 MB / 3.481 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004529/7.962, allocations: 112.1 kB / 3.481 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/7.962, allocations: 35.44 kB / 3.481 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of SimCode: time 8.11e-07/7.962, allocations: 4 kB / 3.481 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02333/7.986, allocations: 15.69 MB / 3.496 GB, free: 91.24 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