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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001177/0.001177, allocations: 169.2 kB / 498.1 MB, free: 5.766 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.612/1.612, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.001032/0.001032, allocations: 98.34 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003748, allocations: 13.45 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/4.817, allocations: 1.869 GB / 3.092 GB, free: 117.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/4.817, allocations: 90.89 kB / 3.092 GB, free: 117.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.31/6.127, allocations: 306.8 MB / 3.392 GB, free: 288.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.327e-06/6.127, allocations: 0 / 3.392 GB, free: 288.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.729e-05/6.128, allocations: 8 kB / 3.392 GB, free: 288.2 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.001824/6.129, allocations: 0.7567 MB / 3.392 GB, free: 287.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/6.129, allocations: 12.03 kB / 3.392 GB, free: 287.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/6.13, allocations: 125.5 kB / 3.392 GB, free: 287.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/6.131, allocations: 342 kB / 3.393 GB, free: 286.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/6.131, allocations: 54.22 kB / 3.393 GB, free: 286.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/6.131, allocations: 28 kB / 3.393 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/6.132, allocations: 358.1 kB / 3.393 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/6.132, allocations: 0 / 3.393 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/6.132, allocations: 16 kB / 3.393 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/6.132, allocations: 4 kB / 3.393 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/6.132, allocations: 266 kB / 3.393 GB, free: 286.2 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.001459/6.134, allocations: 1.473 MB / 3.395 GB, free: 284.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/6.134, allocations: 194.6 kB / 3.395 GB, free: 284.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007556/6.135, allocations: 0.4936 MB / 3.396 GB, free: 283.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/6.135, allocations: 34.56 kB / 3.396 GB, free: 283.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/6.135, allocations: 0 / 3.396 GB, free: 283.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0008425/6.136, allocations: 363.8 kB / 3.396 GB, free: 283.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/6.136, allocations: 55.41 kB / 3.396 GB, free: 283.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/6.136, allocations: 279.7 kB / 3.396 GB, free: 283.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/6.136, allocations: 29.7 kB / 3.396 GB, free: 283 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/6.136, allocations: 188 kB / 3.396 GB, free: 282.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/6.136, allocations: 51.3 kB / 3.396 GB, free: 282.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/6.136, allocations: 3.938 kB / 3.396 GB, free: 282.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/6.136, allocations: 342.8 kB / 3.397 GB, free: 282.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/6.136, allocations: 87.94 kB / 3.397 GB, free: 282.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/6.137, allocations: 156.8 kB / 3.397 GB, free: 282.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/6.137, allocations: 103.9 kB / 3.397 GB, free: 282.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.137, allocations: 0 / 3.397 GB, free: 282.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004732/6.137, allocations: 281.1 kB / 3.397 GB, free: 281.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/6.137, allocations: 8 kB / 3.397 GB, free: 281.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/6.137, allocations: 0 / 3.397 GB, free: 281.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/6.137, allocations: 7.953 kB / 3.397 GB, free: 281.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/6.138, allocations: 48.09 kB / 3.397 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/6.138, allocations: 8 kB / 3.397 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/6.138, allocations: 43.78 kB / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/6.138, allocations: 12 kB / 3.398 GB, free: 281.7 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.0001403/6.138, allocations: 153.7 kB / 3.398 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/6.138, allocations: 31.62 kB / 3.398 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/6.139, allocations: 308.4 kB / 3.398 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/6.139, allocations: 0 / 3.398 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/6.139, allocations: 7.891 kB / 3.398 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/6.139, allocations: 3.984 kB / 3.398 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/6.14, allocations: 0.8005 MB / 3.399 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/6.14, allocations: 4.219 kB / 3.399 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/6.14, allocations: 39.92 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/6.14, allocations: 4 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/6.14, allocations: 11.94 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.992e-05/6.14, allocations: 3.984 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.14, allocations: 4 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/6.141, allocations: 489 kB / 3.399 GB, free: 279.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/6.141, allocations: 132.6 kB / 3.399 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/6.141, allocations: 7.984 kB / 3.399 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/6.141, allocations: 27.98 kB / 3.399 GB, free: 279.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/6.141, allocations: 15.92 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/6.141, allocations: 19.94 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001551/6.141, allocations: 231 kB / 3.4 GB, free: 279.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/6.141, allocations: 0 / 3.4 GB, free: 279.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008732/6.142, allocations: 219.8 kB / 3.4 GB, free: 279 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.001479/6.144, allocations: 1.246 MB / 3.401 GB, free: 277.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004125/6.144, allocations: 219.7 kB / 3.401 GB, free: 277.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.144, allocations: 4 kB / 3.401 GB, free: 277.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/6.144, allocations: 116.7 kB / 3.402 GB, free: 277.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/6.145, allocations: 140.5 kB / 3.402 GB, free: 277.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/6.146, allocations: 0.6974 MB / 3.402 GB, free: 276.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/6.146, allocations: 0.7953 MB / 3.403 GB, free: 275.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002637/6.146, allocations: 83 kB / 3.403 GB, free: 275.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/6.146, allocations: 27.42 kB / 3.403 GB, free: 275.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.31e-07/6.146, allocations: 0 / 3.403 GB, free: 275.6 MB / 1.167 GB Notification: Performance of Templates: time 0.02456/6.171, allocations: 21.09 MB / 3.424 GB, free: 254.5 MB / 1.167 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