Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.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_9_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_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001165/0.001165, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.484/1.484, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009722/0.0009723, allocations: 87.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.06e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3324, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.683/6.016, allocations: 1.868 GB / 3.081 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/6.016, allocations: 86.08 kB / 3.081 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.8618/6.878, allocations: 430 MB / 3.501 GB, free: 24.64 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.753e-06/6.878, allocations: 0 / 3.501 GB, free: 24.64 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.681e-05/6.878, allocations: 16 kB / 3.501 GB, free: 24.62 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003241/6.881, allocations: 1 MB / 3.502 GB, free: 23.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.258e-05/6.881, allocations: 8.031 kB / 3.502 GB, free: 23.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/6.884, allocations: 286.9 kB / 3.502 GB, free: 23.27 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/6.885, allocations: 456.1 kB / 3.502 GB, free: 22.79 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/6.885, allocations: 33 kB / 3.503 GB, free: 22.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/6.885, allocations: 47.91 kB / 3.503 GB, free: 22.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/6.886, allocations: 0.4958 MB / 3.503 GB, free: 22.18 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/6.886, allocations: 3.938 kB / 3.503 GB, free: 22.18 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/6.887, allocations: 16 kB / 3.503 GB, free: 22.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/6.887, allocations: 12 kB / 3.503 GB, free: 22.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/6.887, allocations: 354.8 kB / 3.503 GB, free: 21.8 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.002779/6.89, allocations: 2.146 MB / 3.506 GB, free: 19.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/6.891, allocations: 318.7 kB / 3.506 GB, free: 19.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/6.891, allocations: 168.8 kB / 3.506 GB, free: 19.03 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/6.891, allocations: 397 kB / 3.506 GB, free: 18.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/6.892, allocations: 238.9 kB / 3.507 GB, free: 18.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 3.126e-06/6.892, allocations: 0 / 3.507 GB, free: 18.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.0009118/6.893, allocations: 416.6 kB / 3.507 GB, free: 17.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/6.893, allocations: 63.39 kB / 3.507 GB, free: 17.83 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/6.893, allocations: 419.9 kB / 3.507 GB, free: 17.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/6.893, allocations: 37.7 kB / 3.507 GB, free: 17.37 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/6.893, allocations: 264.4 kB / 3.508 GB, free: 17.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/6.893, allocations: 118.2 kB / 3.508 GB, free: 16.99 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/6.893, allocations: 8 kB / 3.508 GB, free: 16.98 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/6.894, allocations: 370.7 kB / 3.508 GB, free: 16.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/6.894, allocations: 149 kB / 3.508 GB, free: 16.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/6.894, allocations: 280 kB / 3.509 GB, free: 16.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/6.894, allocations: 235.2 kB / 3.509 GB, free: 15.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/6.894, allocations: 0 / 3.509 GB, free: 15.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007489/6.895, allocations: 0.5468 MB / 3.509 GB, free: 15.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/6.895, allocations: 60.5 kB / 3.509 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/6.895, allocations: 4 kB / 3.509 GB, free: 15.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/6.895, allocations: 8.375 kB / 3.509 GB, free: 15.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/6.896, allocations: 107.8 kB / 3.51 GB, free: 15.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/6.896, allocations: 7.984 kB / 3.51 GB, free: 15.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/6.896, allocations: 95.42 kB / 3.51 GB, free: 15.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/6.896, allocations: 31.92 kB / 3.51 GB, free: 15.02 MB / 1.151 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.0001176/6.897, allocations: 137.5 kB / 3.51 GB, free: 14.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/6.897, allocations: 55.34 kB / 3.51 GB, free: 14.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/6.897, allocations: 454.1 kB / 3.51 GB, free: 14.37 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/6.897, allocations: 4 kB / 3.51 GB, free: 14.37 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/6.897, allocations: 0 / 3.51 GB, free: 14.37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/6.897, allocations: 11.97 kB / 3.51 GB, free: 14.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/6.899, allocations: 1.234 MB / 3.512 GB, free: 13.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/6.899, allocations: 12.05 kB / 3.512 GB, free: 13.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/6.899, allocations: 79.89 kB / 3.512 GB, free: 12.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/6.899, allocations: 7.953 kB / 3.512 GB, free: 12.93 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/6.9, allocations: 12 kB / 3.512 GB, free: 12.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/6.9, allocations: 11.92 kB / 3.512 GB, free: 12.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/6.9, allocations: 4 kB / 3.512 GB, free: 12.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/6.9, allocations: 0.9603 MB / 3.513 GB, free: 11.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/6.901, allocations: 172.4 kB / 3.513 GB, free: 11.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/6.901, allocations: 8 kB / 3.513 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/6.901, allocations: 51.94 kB / 3.513 GB, free: 11.54 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/6.901, allocations: 59.89 kB / 3.513 GB, free: 11.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/6.902, allocations: 12 kB / 3.513 GB, free: 11.47 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000303/6.902, allocations: 337.5 kB / 3.513 GB, free: 11.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/6.902, allocations: 0 / 3.513 GB, free: 11.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001127/6.903, allocations: 291.8 kB / 3.513 GB, free: 10.86 MB / 1.151 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.002478/6.905, allocations: 1.474 MB / 3.515 GB, free: 9.316 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007343/6.906, allocations: 487.9 kB / 3.515 GB, free: 8.816 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/6.906, allocations: 0 / 3.515 GB, free: 8.816 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/6.907, allocations: 251.7 kB / 3.516 GB, free: 8.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/6.908, allocations: 269.5 kB / 3.516 GB, free: 8.309 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/6.909, allocations: 0.8118 MB / 3.517 GB, free: 7.434 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/6.91, allocations: 0.8707 MB / 3.517 GB, free: 6.535 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005347/6.91, allocations: 128.7 kB / 3.518 GB, free: 6.406 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/6.91, allocations: 43.44 kB / 3.518 GB, free: 6.363 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/6.91, allocations: 4 kB / 3.518 GB, free: 6.359 MB / 1.151 GB Notification: Performance of Templates: time 0.8036/7.714, allocations: 31.17 MB / 3.548 GB, free: 301 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches