Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001261/0.001261, allocations: 100.2 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.001654/0.001654, 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003563, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7933, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.185/0.9784, allocations: 141.8 MB / 1.092 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006802/0.9852, allocations: 5.274 MB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.9857, allocations: 11.94 kB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.9865, allocations: 183.2 kB / 1.097 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.9885, allocations: 0.7088 MB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.99, allocations: 0.5075 MB / 1.099 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007654/0.9908, allocations: 456 kB / 1.099 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.9912, allocations: 225.3 kB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.9923, allocations: 0.4985 MB / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.993, allocations: 334.9 kB / 1.1 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.993, allocations: 19.94 kB / 1.1 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.9942, allocations: 0.5538 MB / 1.101 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.924e-05/0.9943, allocations: 95.72 kB / 1.101 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.9944, allocations: 85.56 kB / 1.101 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.995, allocations: 470.9 kB / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.995, allocations: 0 / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/0.995, allocations: 0 / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.995, allocations: 0 / 1.101 GB, free: 8.566 MB / 0.8575 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.0008675/0.9959, allocations: 0.6117 MB / 1.102 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.996, allocations: 16.03 kB / 1.102 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.997, allocations: 139.4 kB / 1.102 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.9974, allocations: 305.3 kB / 1.102 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.9975, allocations: 46.27 kB / 1.102 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.9975, allocations: 35.94 kB / 1.102 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.9982, allocations: 378.1 kB / 1.103 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9982, allocations: 0 / 1.103 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.9982, allocations: 8 kB / 1.103 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.9982, allocations: 8 kB / 1.103 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.9987, allocations: 282 kB / 1.103 GB, free: 6.652 MB / 0.8575 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.001732/1, allocations: 1.484 MB / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/1.001, allocations: 162.4 kB / 1.105 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/1.001, allocations: 149 kB / 1.105 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.001, allocations: 38.55 kB / 1.105 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.001, allocations: 0 / 1.105 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0009722/1.002, allocations: 374.2 kB / 1.105 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.003, allocations: 67.28 kB / 1.105 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/1.003, allocations: 312.5 kB / 1.105 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.003, allocations: 25.7 kB / 1.105 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/1.003, allocations: 188.1 kB / 1.106 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/1.003, allocations: 47.3 kB / 1.106 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/1.003, allocations: 0 / 1.106 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.003, allocations: 346.8 kB / 1.106 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.003, allocations: 95.94 kB / 1.106 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/1.004, allocations: 161.4 kB / 1.106 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/1.004, allocations: 111.9 kB / 1.106 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.004, allocations: 4 kB / 1.106 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006181/1.005, allocations: 309 kB / 1.107 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.005, allocations: 4.938 kB / 1.107 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.005, allocations: 4 kB / 1.107 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.005, allocations: 7.938 kB / 1.107 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/1.005, allocations: 44.16 kB / 1.107 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.005, allocations: 11.89 kB / 1.107 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/1.005, allocations: 39.67 kB / 1.107 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/1.005, allocations: 15.98 kB / 1.107 GB, free: 2.461 MB / 0.8575 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.0001748/1.005, allocations: 153.8 kB / 1.107 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/1.006, allocations: 27.72 kB / 1.107 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/1.006, allocations: 334.3 kB / 1.107 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.006, allocations: 0 / 1.107 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.006, allocations: 4 kB / 1.107 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.006, allocations: 7.938 kB / 1.107 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/1.008, allocations: 0.8006 MB / 1.108 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.008, allocations: 11.94 kB / 1.108 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/1.008, allocations: 35.98 kB / 1.108 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.008, allocations: 4.219 kB / 1.108 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/1.008, allocations: 16.08 kB / 1.108 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.008, allocations: 7.875 kB / 1.108 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.008, allocations: 4 kB / 1.108 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/1.009, allocations: 0.493 MB / 1.109 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.009, allocations: 124.6 kB / 1.109 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/1.009, allocations: 4 kB / 1.109 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.009, allocations: 31.97 kB / 1.109 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/1.009, allocations: 12.12 kB / 1.109 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/1.009, allocations: 12 kB / 1.109 GB, free: 204 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002363/1.009, allocations: 227 kB / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 0 / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005398/1.01, allocations: 119.8 kB / 1.109 GB, free: 15.86 MB / 0.8731 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.0004897/1.01, allocations: 217.5 kB / 1.109 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005061/1.011, allocations: 227.7 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.011, allocations: 4.375 kB / 1.11 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/1.011, allocations: 123.8 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/1.012, allocations: 157.7 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.013, allocations: 0.6937 MB / 1.11 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/1.014, allocations: 0.7914 MB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002925/1.014, allocations: 86.81 kB / 1.111 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/1.014, allocations: 27.42 kB / 1.111 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/1.014, allocations: 0 / 1.111 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.01323/1.027, allocations: 6.845 MB / 1.118 GB, free: 6.711 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches