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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.0005668, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6372, allocations: 153.6 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1466/0.7838, allocations: 141.8 MB / 1.159 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.794, allocations: 5.276 MB / 1.164 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007295/0.7948, allocations: 7.938 kB / 1.164 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.7958, allocations: 195.1 kB / 1.165 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.7982, allocations: 0.7088 MB / 1.165 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.7998, allocations: 0.5059 MB / 1.166 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.8007, allocations: 452 kB / 1.166 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.8012, allocations: 235.2 kB / 1.166 GB, free: 11.56 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.8025, allocations: 0.4984 MB / 1.167 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.8033, allocations: 326.9 kB / 1.167 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.8034, allocations: 16 kB / 1.167 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.8049, allocations: 0.5538 MB / 1.168 GB, free: 10.17 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.805, allocations: 103.7 kB / 1.168 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.8052, allocations: 85.52 kB / 1.168 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.806, allocations: 470.9 kB / 1.168 GB, free: 9.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.806, allocations: 0 / 1.168 GB, free: 9.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.806, allocations: 0 / 1.168 GB, free: 9.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.806, allocations: 0 / 1.168 GB, free: 9.516 MB / 0.92 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.0009963/0.807, allocations: 0.6157 MB / 1.169 GB, free: 8.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8071, allocations: 11.98 kB / 1.169 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.8081, allocations: 131.4 kB / 1.169 GB, free: 8.711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.8086, allocations: 313.3 kB / 1.169 GB, free: 8.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.8087, allocations: 54.25 kB / 1.17 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.8088, allocations: 24 kB / 1.17 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.8094, allocations: 374.1 kB / 1.17 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8094, allocations: 0 / 1.17 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.8095, allocations: 16 kB / 1.17 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8095, allocations: 4 kB / 1.17 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.81, allocations: 286 kB / 1.17 GB, free: 7.598 MB / 0.92 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.001819/0.8118, allocations: 1.484 MB / 1.172 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.8124, allocations: 166.5 kB / 1.172 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.8128, allocations: 141 kB / 1.172 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.8128, allocations: 34.56 kB / 1.172 GB, free: 5.617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.8128, allocations: 0 / 1.172 GB, free: 5.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0009775/0.8138, allocations: 389.3 kB / 1.172 GB, free: 5.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.8138, allocations: 55.34 kB / 1.172 GB, free: 5.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.8141, allocations: 308.5 kB / 1.173 GB, free: 4.852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.8142, allocations: 33.7 kB / 1.173 GB, free: 4.812 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.8143, allocations: 188 kB / 1.173 GB, free: 4.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.8144, allocations: 51.3 kB / 1.173 GB, free: 4.574 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.8144, allocations: 4 kB / 1.173 GB, free: 4.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8145, allocations: 342.8 kB / 1.173 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.8147, allocations: 87.94 kB / 1.173 GB, free: 4.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.815, allocations: 169 kB / 1.174 GB, free: 3.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.8152, allocations: 107.9 kB / 1.174 GB, free: 3.844 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8152, allocations: 7.938 kB / 1.174 GB, free: 3.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006492/0.8159, allocations: 300.9 kB / 1.174 GB, free: 3.535 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8159, allocations: 8.188 kB / 1.174 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8159, allocations: 7.938 kB / 1.174 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8159, allocations: 4.141 kB / 1.174 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.8162, allocations: 51.91 kB / 1.174 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.8162, allocations: 0 / 1.174 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.8165, allocations: 43.7 kB / 1.174 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.8165, allocations: 16 kB / 1.174 GB, free: 3.406 MB / 0.92 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 (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.0001685/0.8167, allocations: 153.7 kB / 1.174 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.8168, allocations: 27.67 kB / 1.174 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.8176, allocations: 338.8 kB / 1.175 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8176, allocations: 7.984 kB / 1.175 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8176, allocations: 0 / 1.175 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8176, allocations: 0 / 1.175 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.8189, allocations: 0.8083 MB / 1.175 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.819, allocations: 4 kB / 1.175 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.8192, allocations: 48.12 kB / 1.175 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.8192, allocations: 4.094 kB / 1.175 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.8192, allocations: 7.938 kB / 1.175 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8192, allocations: 4 kB / 1.175 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8192, allocations: 0 / 1.175 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.8199, allocations: 0.4892 MB / 1.176 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.8201, allocations: 128.6 kB / 1.176 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.8202, allocations: 8 kB / 1.176 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.8204, allocations: 27.97 kB / 1.176 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.8205, allocations: 19.94 kB / 1.176 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.8206, allocations: 11.98 kB / 1.176 GB, free: 1.145 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002333/0.8208, allocations: 223 kB / 1.176 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8208, allocations: 4 kB / 1.176 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005657/0.8214, allocations: 115.8 kB / 1.176 GB, free: 0.8125 MB / 0.92 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.0005597/0.8219, allocations: 209.4 kB / 1.177 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005528/0.8225, allocations: 240 kB / 1.177 GB, free: 380 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8225, allocations: 0 / 1.177 GB, free: 380 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.8228, allocations: 123.8 kB / 1.177 GB, free: 256 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.8236, allocations: 152.9 kB / 1.177 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.8248, allocations: 0.7026 MB / 1.178 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.8251, allocations: 0.7875 MB / 1.179 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.8254, allocations: 82.97 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.8255, allocations: 35.42 kB / 1.179 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8255, allocations: 0 / 1.179 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.01206/0.8376, allocations: 6.852 MB / 1.185 GB, free: 7.656 MB / 0.9356 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