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.587/2.587, allocations: 393.5 MB / 408.4 MB, free: 10.87 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.001437/0.001437, allocations: 183.8 kB / 0.4902 GB, free: 2.09 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.557/1.557, allocations: 223.1 MB / 0.7992 GB, free: 14.59 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.0009472/0.0009471, allocations: 98.72 kB / 0.9396 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 10.62 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3879, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.364/5.752, allocations: 1.87 GB / 3.099 GB, free: 88.25 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004536/5.752, allocations: 91.7 kB / 3.099 GB, free: 88.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.575/7.328, allocations: 306.8 MB / 3.399 GB, free: 258.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.274e-06/7.328, allocations: 0 / 3.399 GB, free: 258.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.007e-05/7.328, allocations: 8 kB / 3.399 GB, free: 258.1 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002379/7.33, allocations: 0.7649 MB / 3.399 GB, free: 257.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.103e-05/7.33, allocations: 8.031 kB / 3.399 GB, free: 257.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/7.332, allocations: 125 kB / 3.4 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/7.332, allocations: 338 kB / 3.4 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/7.332, allocations: 50.27 kB / 3.4 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/7.332, allocations: 31.98 kB / 3.4 GB, free: 256.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/7.333, allocations: 358.1 kB / 3.4 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/7.333, allocations: 0 / 3.4 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.996e-05/7.333, allocations: 12 kB / 3.4 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/7.333, allocations: 12 kB / 3.4 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/7.334, allocations: 258 kB / 3.401 GB, free: 256.1 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001921/7.336, allocations: 1.484 MB / 3.402 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/7.336, allocations: 186.6 kB / 3.402 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008729/7.337, allocations: 0.4936 MB / 3.403 GB, free: 253.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/7.337, allocations: 38.56 kB / 3.403 GB, free: 253.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/7.337, allocations: 0 / 3.403 GB, free: 253.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0008841/7.338, allocations: 357.3 kB / 3.403 GB, free: 253.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/7.338, allocations: 59.39 kB / 3.403 GB, free: 253.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/7.338, allocations: 283.6 kB / 3.403 GB, free: 252.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/7.338, allocations: 25.7 kB / 3.403 GB, free: 252.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/7.338, allocations: 188.1 kB / 3.404 GB, free: 252.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/7.338, allocations: 51.25 kB / 3.404 GB, free: 252.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/7.338, allocations: 4 kB / 3.404 GB, free: 252.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/7.339, allocations: 334.8 kB / 3.404 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/7.339, allocations: 87.92 kB / 3.404 GB, free: 252.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/7.339, allocations: 156.9 kB / 3.404 GB, free: 252.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/7.339, allocations: 107.9 kB / 3.404 GB, free: 252 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/7.339, allocations: 0 / 3.404 GB, free: 252 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004874/7.34, allocations: 289 kB / 3.405 GB, free: 251.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/7.34, allocations: 7.953 kB / 3.405 GB, free: 251.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/7.34, allocations: 4 kB / 3.405 GB, free: 251.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/7.34, allocations: 0 / 3.405 GB, free: 251.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/7.34, allocations: 47.91 kB / 3.405 GB, free: 251.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/7.34, allocations: 8.125 kB / 3.405 GB, free: 251.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/7.34, allocations: 39.77 kB / 3.405 GB, free: 251.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/7.34, allocations: 11.98 kB / 3.405 GB, free: 251.6 MB / 1.167 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 () * Number of clocked 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 0.0001652/7.34, allocations: 149.8 kB / 3.405 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/7.34, allocations: 35.62 kB / 3.405 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/7.341, allocations: 317.2 kB / 3.405 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/7.341, allocations: 4 kB / 3.405 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/7.341, allocations: 0 / 3.405 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/7.341, allocations: 3.938 kB / 3.405 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/7.342, allocations: 0.7927 MB / 3.406 GB, free: 250.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/7.342, allocations: 4.219 kB / 3.406 GB, free: 250.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/7.343, allocations: 47.91 kB / 3.406 GB, free: 250.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/7.343, allocations: 4 kB / 3.406 GB, free: 250.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/7.343, allocations: 4 kB / 3.406 GB, free: 250.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/7.343, allocations: 7.984 kB / 3.406 GB, free: 250.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/7.343, allocations: 0 / 3.406 GB, free: 250.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/7.343, allocations: 491.7 kB / 3.406 GB, free: 249.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/7.344, allocations: 136.7 kB / 3.407 GB, free: 249.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/7.344, allocations: 0 / 3.407 GB, free: 249.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/7.344, allocations: 35.97 kB / 3.407 GB, free: 249.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/7.344, allocations: 23.88 kB / 3.407 GB, free: 249.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/7.344, allocations: 12.05 kB / 3.407 GB, free: 249.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002029/7.344, allocations: 223.1 kB / 3.407 GB, free: 249.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/7.344, allocations: 0 / 3.407 GB, free: 249.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001226/7.345, allocations: 231.7 kB / 3.407 GB, free: 248.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 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.002361/7.348, allocations: 1.241 MB / 3.408 GB, free: 247.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005094/7.348, allocations: 223.7 kB / 3.409 GB, free: 247.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/7.348, allocations: 0 / 3.409 GB, free: 247.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/7.349, allocations: 116.7 kB / 3.409 GB, free: 247.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/7.349, allocations: 154.2 kB / 3.409 GB, free: 247.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/7.351, allocations: 0.6918 MB / 3.409 GB, free: 246.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/7.351, allocations: 0.7914 MB / 3.41 GB, free: 245.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002778/7.351, allocations: 82.86 kB / 3.41 GB, free: 245.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/7.351, allocations: 27.44 kB / 3.41 GB, free: 245.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.2e-07/7.351, allocations: 0 / 3.41 GB, free: 245.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03039/7.382, allocations: 21.09 MB / 3.431 GB, free: 224.4 MB / 1.167 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