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.026/2.026, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001001/0.001001, allocations: 188.8 kB / 487.4 MB, free: 5.066 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.291/1.291, allocations: 221.5 MB / 0.7824 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008977/0.0008974, allocations: 111.8 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.961e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.329/4.566, allocations: 1.868 GB / 3.074 GB, free: 362.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/4.566, allocations: 85.19 kB / 3.074 GB, free: 362.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7522/5.318, allocations: 424.8 MB / 3.489 GB, free: 10.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.132e-06/5.318, allocations: 4 kB / 3.489 GB, free: 10.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.665e-05/5.318, allocations: 20.17 kB / 3.489 GB, free: 10.95 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.001932/5.32, allocations: 0.9884 MB / 3.49 GB, free: 9.898 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/5.32, allocations: 12.03 kB / 3.49 GB, free: 9.887 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/5.322, allocations: 287 kB / 3.49 GB, free: 9.605 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/5.323, allocations: 456.5 kB / 3.49 GB, free: 9.121 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/5.323, allocations: 12 kB / 3.49 GB, free: 9.109 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/5.323, allocations: 35.84 kB / 3.49 GB, free: 9.074 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005287/5.324, allocations: 318.5 kB / 3.491 GB, free: 8.762 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/5.324, allocations: 449.1 kB / 3.491 GB, free: 8.289 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/5.324, allocations: 0 / 3.491 GB, free: 8.289 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/5.324, allocations: 0 / 3.491 GB, free: 8.289 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/5.324, allocations: 12 kB / 3.491 GB, free: 8.277 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.002089/5.327, allocations: 2.032 MB / 3.493 GB, free: 6.125 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/5.327, allocations: 310.6 kB / 3.493 GB, free: 5.812 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/5.327, allocations: 168.8 kB / 3.493 GB, free: 5.645 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/5.328, allocations: 392.4 kB / 3.494 GB, free: 5.188 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/5.328, allocations: 239.2 kB / 3.494 GB, free: 4.941 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/5.328, allocations: 0 / 3.494 GB, free: 4.941 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001014/5.329, allocations: 444.6 kB / 3.495 GB, free: 4.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/5.329, allocations: 59.39 kB / 3.495 GB, free: 4.43 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/5.329, allocations: 313.1 kB / 3.495 GB, free: 4.117 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/5.329, allocations: 25.7 kB / 3.495 GB, free: 4.086 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/5.33, allocations: 272 kB / 3.495 GB, free: 3.816 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/5.33, allocations: 122.2 kB / 3.495 GB, free: 3.695 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/5.33, allocations: 0 / 3.495 GB, free: 3.695 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/5.33, allocations: 350.8 kB / 3.496 GB, free: 3.344 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/5.33, allocations: 141 kB / 3.496 GB, free: 3.207 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/5.33, allocations: 261.9 kB / 3.496 GB, free: 2.902 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/5.331, allocations: 215.8 kB / 3.496 GB, free: 2.691 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/5.331, allocations: 8 kB / 3.496 GB, free: 2.684 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007933/5.331, allocations: 0.5044 MB / 3.497 GB, free: 2.172 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/5.332, allocations: 63.39 kB / 3.497 GB, free: 2.098 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/5.332, allocations: 4 kB / 3.497 GB, free: 2.094 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/5.332, allocations: 4 kB / 3.497 GB, free: 2.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/5.332, allocations: 112.2 kB / 3.497 GB, free: 1.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/5.332, allocations: 4 kB / 3.497 GB, free: 1.977 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/5.333, allocations: 79.56 kB / 3.497 GB, free: 1.898 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/5.333, allocations: 23.94 kB / 3.497 GB, free: 1.875 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.0001098/5.333, allocations: 121.8 kB / 3.497 GB, free: 1.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/5.333, allocations: 47.39 kB / 3.497 GB, free: 1.703 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/5.334, allocations: 465.9 kB / 3.498 GB, free: 1.238 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/5.334, allocations: 8 kB / 3.498 GB, free: 1.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/5.334, allocations: 4 kB / 3.498 GB, free: 1.227 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/5.334, allocations: 3.984 kB / 3.498 GB, free: 1.223 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5779/5.912, allocations: 1.192 MB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/5.912, allocations: 10.78 kB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/5.912, allocations: 80.97 kB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/5.912, allocations: 5.438 kB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/5.912, allocations: 7.656 kB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/5.912, allocations: 10.7 kB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/5.912, allocations: 9.328 kB / 3.499 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/5.914, allocations: 0.9657 MB / 3.5 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/5.914, allocations: 155.6 kB / 3.5 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/5.914, allocations: 13.17 kB / 3.5 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/5.915, allocations: 46.95 kB / 3.5 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/5.915, allocations: 51.22 kB / 3.5 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/5.915, allocations: 15.36 kB / 3.5 GB, free: 298.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002566/5.915, allocations: 235.6 kB / 3.5 GB, free: 298.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.915, allocations: 3.656 kB / 3.5 GB, free: 298.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008571/5.916, allocations: 250.3 kB / 3.501 GB, free: 298.3 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.00231/5.918, allocations: 1.649 MB / 3.502 GB, free: 297.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007746/5.919, allocations: 465.9 kB / 3.503 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/5.919, allocations: 0.9375 kB / 3.503 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/5.919, allocations: 234.2 kB / 3.503 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/5.92, allocations: 189 kB / 3.503 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/5.922, allocations: 0.773 MB / 3.504 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/5.922, allocations: 0.8841 MB / 3.505 GB, free: 296.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004843/5.923, allocations: 109.2 kB / 3.505 GB, free: 296.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/5.923, allocations: 40.56 kB / 3.505 GB, free: 296.8 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/5.923, allocations: 0 / 3.505 GB, free: 296.8 MB / 1.151 GB Notification: Performance of Templates: time 0.02792/5.951, allocations: 15.72 MB / 3.52 GB, free: 296.5 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