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.326/2.326, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001349/0.001348, allocations: 176.9 kB / 492.3 MB, free: 0.5938 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.662/1.662, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009216/0.0009214, allocations: 87.42 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.311e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3136, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.096/5.409, allocations: 1.869 GB / 3.081 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/5.41, allocations: 85.92 kB / 3.081 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5612/5.971, allocations: 306.6 MB / 3.381 GB, free: 150.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.212e-06/5.971, allocations: 4 kB / 3.381 GB, free: 150.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.632e-05/5.971, allocations: 8 kB / 3.381 GB, free: 150.1 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.001289/5.972, allocations: 0.706 MB / 3.381 GB, free: 149.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/5.972, allocations: 12.03 kB / 3.381 GB, free: 149.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/5.973, allocations: 127.4 kB / 3.382 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/5.974, allocations: 334 kB / 3.382 GB, free: 148.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/5.974, allocations: 46.27 kB / 3.382 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/5.974, allocations: 28 kB / 3.382 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/5.974, allocations: 330.2 kB / 3.382 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/5.975, allocations: 0 / 3.382 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/5.975, allocations: 16 kB / 3.382 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/5.975, allocations: 8 kB / 3.382 GB, free: 148.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/5.975, allocations: 230.1 kB / 3.383 GB, free: 148.2 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.001342/5.976, allocations: 1.48 MB / 3.384 GB, free: 146.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/5.977, allocations: 170.5 kB / 3.384 GB, free: 146.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/5.977, allocations: 92.81 kB / 3.384 GB, free: 146.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/5.977, allocations: 0.5053 MB / 3.385 GB, free: 145.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/5.977, allocations: 34.56 kB / 3.385 GB, free: 145.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/5.977, allocations: 4 kB / 3.385 GB, free: 145.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0005374/5.978, allocations: 222.7 kB / 3.385 GB, free: 145.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/5.978, allocations: 51.69 kB / 3.385 GB, free: 145.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/5.978, allocations: 282.6 kB / 3.385 GB, free: 145.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/5.978, allocations: 33.7 kB / 3.385 GB, free: 145.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/5.978, allocations: 184.2 kB / 3.385 GB, free: 144.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/5.978, allocations: 51.2 kB / 3.386 GB, free: 144.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/5.978, allocations: 7.938 kB / 3.386 GB, free: 144.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/5.978, allocations: 346.8 kB / 3.386 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/5.979, allocations: 63.97 kB / 3.386 GB, free: 144.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/5.979, allocations: 137.7 kB / 3.386 GB, free: 144.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/5.979, allocations: 87.94 kB / 3.386 GB, free: 144.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/5.979, allocations: 3.938 kB / 3.386 GB, free: 144.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003652/5.979, allocations: 249 kB / 3.386 GB, free: 143.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/5.979, allocations: 7.984 kB / 3.386 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/5.979, allocations: 7.984 kB / 3.386 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/5.979, allocations: 4 kB / 3.386 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/5.979, allocations: 43.92 kB / 3.386 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/5.98, allocations: 4 kB / 3.386 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/5.98, allocations: 43.86 kB / 3.386 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/5.98, allocations: 16 kB / 3.387 GB, free: 143.8 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 7.602e-05/5.98, allocations: 112.9 kB / 3.387 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/5.98, allocations: 27.77 kB / 3.387 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/5.981, allocations: 280.5 kB / 3.387 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/5.981, allocations: 0 / 3.387 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/5.981, allocations: 0 / 3.387 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/5.981, allocations: 3.984 kB / 3.387 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/5.982, allocations: 0.7654 MB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/5.982, allocations: 3.938 kB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/5.982, allocations: 40.19 kB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/5.982, allocations: 7.953 kB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/5.982, allocations: 8 kB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/5.982, allocations: 7.938 kB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/5.982, allocations: 4.094 kB / 3.388 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/5.982, allocations: 458 kB / 3.388 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/5.982, allocations: 140.6 kB / 3.388 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/5.983, allocations: 8 kB / 3.388 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/5.983, allocations: 19.98 kB / 3.388 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/5.983, allocations: 23.97 kB / 3.388 GB, free: 141.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/5.983, allocations: 8 kB / 3.388 GB, free: 141.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002084/5.983, allocations: 222.2 kB / 3.389 GB, free: 141.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.983, allocations: 0 / 3.389 GB, free: 141.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001177/5.984, allocations: 227.8 kB / 3.389 GB, free: 141.3 MB / 1.151 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 () * 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.002211/5.987, allocations: 1.234 MB / 3.39 GB, free: 140 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004009/5.987, allocations: 182.3 kB / 3.39 GB, free: 139.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/5.987, allocations: 0 / 3.39 GB, free: 139.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/5.987, allocations: 103.8 kB / 3.39 GB, free: 139.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/5.988, allocations: 165.2 kB / 3.39 GB, free: 139.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/5.989, allocations: 421.9 kB / 3.391 GB, free: 139.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/5.989, allocations: 0.7953 MB / 3.392 GB, free: 138.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003048/5.989, allocations: 71.08 kB / 3.392 GB, free: 138.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/5.989, allocations: 31.42 kB / 3.392 GB, free: 138.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/5.989, allocations: 0 / 3.392 GB, free: 138.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02839/6.018, allocations: 24.35 MB / 3.415 GB, free: 113.9 MB / 1.151 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