Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001155/0.001155, allocations: 175.4 kB / 498.1 MB, free: 5.734 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.55/1.55, allocations: 223.2 MB / 0.7949 GB, free: 17.87 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.0009829/0.0009831, allocations: 103.4 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 14.73 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3515, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.389/4.741, allocations: 1.867 GB / 3.09 GB, free: 119.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/4.741, allocations: 87.95 kB / 3.09 GB, free: 119.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.181/5.922, allocations: 224.9 MB / 3.309 GB, free: 374.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/5.922, allocations: 0 / 3.309 GB, free: 374.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.528e-05/5.922, allocations: 8 kB / 3.309 GB, free: 374.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001342/5.923, allocations: 0.6523 MB / 3.31 GB, free: 373.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/5.923, allocations: 8.031 kB / 3.31 GB, free: 373.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006586/5.924, allocations: 72.84 kB / 3.31 GB, free: 373.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/5.924, allocations: 289.8 kB / 3.31 GB, free: 373.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/5.924, allocations: 23.94 kB / 3.311 GB, free: 373.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/5.924, allocations: 16 kB / 3.311 GB, free: 373.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/5.925, allocations: 291.3 kB / 3.311 GB, free: 372.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/5.925, allocations: 7.953 kB / 3.311 GB, free: 372.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/5.925, allocations: 11.94 kB / 3.311 GB, free: 372.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/5.925, allocations: 7.984 kB / 3.311 GB, free: 372.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/5.925, allocations: 207.8 kB / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/5.927, allocations: 1.215 MB / 3.312 GB, free: 371.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/5.927, allocations: 177 kB / 3.312 GB, free: 371.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006167/5.927, allocations: 323.2 kB / 3.313 GB, free: 370.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/5.927, allocations: 38.56 kB / 3.313 GB, free: 370.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/5.927, allocations: 3.984 kB / 3.313 GB, free: 370.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0006787/5.928, allocations: 285.7 kB / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/5.928, allocations: 158.2 kB / 3.313 GB, free: 370.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/5.928, allocations: 258.1 kB / 3.313 GB, free: 369.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/5.928, allocations: 25.7 kB / 3.313 GB, free: 369.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/5.929, allocations: 156.1 kB / 3.314 GB, free: 369.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/5.929, allocations: 47.36 kB / 3.314 GB, free: 369.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/5.929, allocations: 4.062 kB / 3.314 GB, free: 369.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/5.929, allocations: 342.8 kB / 3.314 GB, free: 369.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/5.929, allocations: 67.94 kB / 3.314 GB, free: 369.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/5.929, allocations: 150.2 kB / 3.314 GB, free: 369.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/5.929, allocations: 92.25 kB / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/5.929, allocations: 0 / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004115/5.93, allocations: 245.1 kB / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/5.93, allocations: 9.719 kB / 3.314 GB, free: 368.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/5.93, allocations: 0 / 3.314 GB, free: 368.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/5.93, allocations: 4 kB / 3.314 GB, free: 368.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/5.93, allocations: 43.97 kB / 3.315 GB, free: 368.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/5.93, allocations: 12.19 kB / 3.315 GB, free: 368.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/5.93, allocations: 35.67 kB / 3.315 GB, free: 368.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/5.93, allocations: 12 kB / 3.315 GB, free: 368.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001294/5.93, allocations: 150.1 kB / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/5.93, allocations: 23.72 kB / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/5.931, allocations: 201.7 kB / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/5.931, allocations: 0 / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/5.931, allocations: 4 kB / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/5.931, allocations: 0 / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/5.932, allocations: 0.8509 MB / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/5.932, allocations: 4.156 kB / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/5.932, allocations: 31.98 kB / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/5.932, allocations: 192 / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/5.932, allocations: 8 kB / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/5.932, allocations: 3.938 kB / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.932, allocations: 4 kB / 3.316 GB, free: 367.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/5.932, allocations: 403.9 kB / 3.316 GB, free: 366.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/5.932, allocations: 124.8 kB / 3.316 GB, free: 366.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/5.933, allocations: 0 / 3.316 GB, free: 366.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/5.933, allocations: 16.05 kB / 3.316 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/5.933, allocations: 19.94 kB / 3.316 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/5.933, allocations: 4.094 kB / 3.316 GB, free: 366.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001838/5.933, allocations: 233.9 kB / 3.317 GB, free: 366.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.933, allocations: 0 / 3.317 GB, free: 366.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008877/5.934, allocations: 187.9 kB / 3.317 GB, free: 366.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001556/5.935, allocations: 1.026 MB / 3.318 GB, free: 365.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003898/5.936, allocations: 159.7 kB / 3.318 GB, free: 365 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/5.936, allocations: 0 / 3.318 GB, free: 365 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/5.936, allocations: 68.72 kB / 3.318 GB, free: 365 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/5.937, allocations: 121 kB / 3.318 GB, free: 364.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007528/5.937, allocations: 0.572 MB / 3.319 GB, free: 364.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/5.938, allocations: 0.7638 MB / 3.319 GB, free: 363.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001818/5.938, allocations: 59.02 kB / 3.319 GB, free: 363.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/5.938, allocations: 27.42 kB / 3.32 GB, free: 363.4 MB / 1.167 GB Notification: Performance of SimCode: time 3.31e-07/5.938, allocations: 0 / 3.32 GB, free: 363.4 MB / 1.167 GB Notification: Performance of Templates: time 0.0216/5.959, allocations: 17.25 MB / 3.336 GB, free: 346.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches