Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.241/2.241, allocations: 390.5 MB / 398 MB, free: 10.96 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.001442/0.001442, allocations: 176.9 kB / 491.2 MB, free: 1.609 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.713/1.713, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009066/0.0009067, allocations: 95.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.043e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3372, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.635/5.972, allocations: 1.869 GB / 3.081 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/5.973, allocations: 85.78 kB / 3.081 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5538/6.527, allocations: 302.9 MB / 3.377 GB, free: 152.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.313e-06/6.527, allocations: 0 / 3.377 GB, free: 152.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.731e-05/6.527, allocations: 11.98 kB / 3.377 GB, free: 152.8 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001216/6.528, allocations: 0.7099 MB / 3.378 GB, free: 152.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/6.528, allocations: 16.02 kB / 3.378 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/6.529, allocations: 119.5 kB / 3.378 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/6.529, allocations: 333.9 kB / 3.378 GB, free: 151.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/6.53, allocations: 42.27 kB / 3.378 GB, free: 151.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/6.53, allocations: 16 kB / 3.378 GB, free: 151.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003226/6.53, allocations: 213 kB / 3.379 GB, free: 151.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/6.53, allocations: 297.1 kB / 3.379 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/6.53, allocations: 0 / 3.379 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/6.53, allocations: 3.938 kB / 3.379 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/6.53, allocations: 8 kB / 3.379 GB, free: 151 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.001275/6.532, allocations: 1.394 MB / 3.38 GB, free: 149.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/6.532, allocations: 162.5 kB / 3.38 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/6.532, allocations: 88.81 kB / 3.38 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007095/6.533, allocations: 0.5014 MB / 3.381 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/6.533, allocations: 34.56 kB / 3.381 GB, free: 148.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/6.533, allocations: 4 kB / 3.381 GB, free: 148.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0008425/6.534, allocations: 271.4 kB / 3.381 GB, free: 148.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/6.534, allocations: 51.41 kB / 3.381 GB, free: 148.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/6.534, allocations: 190.1 kB / 3.382 GB, free: 148 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/6.534, allocations: 25.7 kB / 3.382 GB, free: 148 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/6.534, allocations: 196 kB / 3.382 GB, free: 147.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/6.534, allocations: 51.27 kB / 3.382 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/6.534, allocations: 0 / 3.382 GB, free: 147.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/6.534, allocations: 334.8 kB / 3.382 GB, free: 147.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/6.534, allocations: 71.86 kB / 3.382 GB, free: 147.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/6.534, allocations: 128.7 kB / 3.382 GB, free: 147.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/6.535, allocations: 129.6 kB / 3.382 GB, free: 147.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/6.535, allocations: 0 / 3.382 GB, free: 147.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006027/6.535, allocations: 269.1 kB / 3.383 GB, free: 146.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/6.535, allocations: 4 kB / 3.383 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/6.535, allocations: 0 / 3.383 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/6.535, allocations: 8.188 kB / 3.383 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/6.536, allocations: 47.92 kB / 3.383 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/6.536, allocations: 3.984 kB / 3.383 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/6.536, allocations: 27.83 kB / 3.383 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/6.536, allocations: 11.94 kB / 3.383 GB, free: 146.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.839e-05/6.536, allocations: 120.8 kB / 3.383 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/6.536, allocations: 27.7 kB / 3.383 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/6.537, allocations: 279.6 kB / 3.383 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/6.537, allocations: 0 / 3.383 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/6.537, allocations: 0 / 3.383 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/6.537, allocations: 0 / 3.383 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/6.538, allocations: 1.219 MB / 3.384 GB, free: 144.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/6.538, allocations: 4 kB / 3.384 GB, free: 144.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/6.538, allocations: 47.91 kB / 3.384 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/6.538, allocations: 4 kB / 3.384 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/6.538, allocations: 7.953 kB / 3.384 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/6.538, allocations: 4.344 kB / 3.384 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/6.539, allocations: 7.938 kB / 3.384 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/6.539, allocations: 0.5253 MB / 3.385 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/6.539, allocations: 124.8 kB / 3.385 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/6.539, allocations: 4 kB / 3.385 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/6.539, allocations: 35.91 kB / 3.385 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/6.54, allocations: 19.94 kB / 3.385 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/6.54, allocations: 8 kB / 3.385 GB, free: 144 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.997e-05/6.54, allocations: 158 kB / 3.385 GB, free: 143.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.54, allocations: 4 kB / 3.385 GB, free: 143.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007436/6.54, allocations: 195.7 kB / 3.385 GB, free: 143.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001691/6.542, allocations: 1.389 MB / 3.387 GB, free: 142.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002815/6.542, allocations: 171.8 kB / 3.387 GB, free: 142 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/6.542, allocations: 0 / 3.387 GB, free: 142 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/6.543, allocations: 96.83 kB / 3.387 GB, free: 141.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/6.543, allocations: 103 kB / 3.387 GB, free: 141.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/6.544, allocations: 421 kB / 3.388 GB, free: 141.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/6.544, allocations: 0.7873 MB / 3.388 GB, free: 140.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002468/6.544, allocations: 69.97 kB / 3.388 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/6.544, allocations: 27.44 kB / 3.388 GB, free: 140.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/6.544, allocations: 0 / 3.388 GB, free: 140.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01631/6.561, allocations: 11.8 MB / 3.4 GB, free: 128.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches