Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.442/2.442, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001145/0.001145, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0008748/0.0008747, allocations: 91.75 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.682e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.006/6.327, allocations: 1.869 GB / 3.088 GB, free: 365.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.327, allocations: 85.98 kB / 3.088 GB, free: 365.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.731/8.058, allocations: 430 MB / 3.508 GB, free: 306.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.214e-06/8.058, allocations: 0 / 3.508 GB, free: 306.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.812e-05/8.058, allocations: 17.84 kB / 3.508 GB, free: 306.3 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002332/8.061, allocations: 0.9953 MB / 3.509 GB, free: 305.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.849e-05/8.061, allocations: 10.22 kB / 3.509 GB, free: 305.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/8.063, allocations: 280.6 kB / 3.509 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/8.064, allocations: 457.4 kB / 3.51 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/8.064, allocations: 38.25 kB / 3.51 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/8.064, allocations: 46.06 kB / 3.51 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/8.065, allocations: 0.4891 MB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/8.065, allocations: 4.688 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/8.065, allocations: 15.38 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/8.065, allocations: 14.41 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/8.066, allocations: 344.4 kB / 3.511 GB, free: 305.5 MB / 1.167 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.002513/8.068, allocations: 2.139 MB / 3.513 GB, free: 304.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/8.069, allocations: 324.8 kB / 3.513 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/8.069, allocations: 176.4 kB / 3.513 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/8.07, allocations: 395.5 kB / 3.513 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/8.07, allocations: 235.4 kB / 3.514 GB, free: 303.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 3.817e-06/8.07, allocations: 1.156 kB / 3.514 GB, free: 303.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001015/8.071, allocations: 421.8 kB / 3.514 GB, free: 303.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/8.071, allocations: 72.52 kB / 3.514 GB, free: 303.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/8.072, allocations: 423.9 kB / 3.515 GB, free: 303.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/8.072, allocations: 36.52 kB / 3.515 GB, free: 303.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/8.072, allocations: 259.4 kB / 3.515 GB, free: 303.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/8.072, allocations: 125.2 kB / 3.515 GB, free: 303.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/8.072, allocations: 10 kB / 3.515 GB, free: 303.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001049/8.072, allocations: 370.8 kB / 3.515 GB, free: 303 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/8.073, allocations: 147.4 kB / 3.516 GB, free: 303 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/8.073, allocations: 272.8 kB / 3.516 GB, free: 302.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/8.073, allocations: 234.2 kB / 3.516 GB, free: 302.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/8.073, allocations: 1.219 kB / 3.516 GB, free: 302.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008869/8.074, allocations: 0.5442 MB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/8.074, allocations: 62.47 kB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.074, allocations: 9.609 kB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/8.074, allocations: 5.781 kB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/8.075, allocations: 101.4 kB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/8.075, allocations: 8.891 kB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/8.076, allocations: 103.8 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/8.076, allocations: 24.33 kB / 3.517 GB, free: 302.6 MB / 1.167 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.0001301/8.076, allocations: 140.4 kB / 3.517 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/8.076, allocations: 53.28 kB / 3.517 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/8.077, allocations: 453 kB / 3.517 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/8.077, allocations: 4.25 kB / 3.517 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/8.077, allocations: 4.281 kB / 3.517 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/8.077, allocations: 3.844 kB / 3.517 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/8.079, allocations: 1.234 MB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/8.079, allocations: 3.562 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/8.079, allocations: 85.97 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/8.079, allocations: 5.312 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/8.079, allocations: 19 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/8.079, allocations: 6.531 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/8.079, allocations: 5.281 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/8.08, allocations: 0.9517 MB / 3.52 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/8.08, allocations: 170.8 kB / 3.52 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/8.081, allocations: 17.53 kB / 3.52 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/8.081, allocations: 49.11 kB / 3.52 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/8.081, allocations: 54.81 kB / 3.52 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/8.081, allocations: 15.75 kB / 3.52 GB, free: 301.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003862/8.082, allocations: 332.7 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.934e-06/8.082, allocations: 2.875 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001162/8.083, allocations: 289.1 kB / 3.521 GB, free: 301.3 MB / 1.167 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.002185/8.085, allocations: 1.48 MB / 3.522 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008029/8.086, allocations: 486.4 kB / 3.523 GB, free: 300.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/8.086, allocations: 4.875 kB / 3.523 GB, free: 300.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004607/8.086, allocations: 238.5 kB / 3.523 GB, free: 300.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/8.088, allocations: 273.2 kB / 3.523 GB, free: 300.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/8.089, allocations: 0.8082 MB / 3.524 GB, free: 300.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/8.09, allocations: 0.8763 MB / 3.525 GB, free: 299.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005373/8.09, allocations: 128 kB / 3.525 GB, free: 299.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/8.09, allocations: 46.55 kB / 3.525 GB, free: 299.7 MB / 1.167 GB Notification: Performance of SimCode: time 4.41e-07/8.09, allocations: 3.281 kB / 3.525 GB, free: 299.7 MB / 1.167 GB Notification: Performance of Templates: time 0.04212/8.132, allocations: 31.18 MB / 3.555 GB, free: 299.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches