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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00165/0.00165, allocations: 107.8 kB / 16.27 MB, free: 5.984 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.002341/0.002341, allocations: 189 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 72.11 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2694, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.715/0.9845, allocations: 169.4 MB / 1.116 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007986/0.9925, allocations: 7.136 MB / 1.123 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.9932, allocations: 12.47 kB / 1.123 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.9938, allocations: 173.5 kB / 1.123 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.9979, allocations: 1.258 MB / 1.124 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.9999, allocations: 0.6303 MB / 1.125 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001227/1.001, allocations: 0.7558 MB / 1.125 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/1.002, allocations: 299.3 kB / 1.126 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/1.003, allocations: 0.5612 MB / 1.126 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/1.004, allocations: 430.2 kB / 1.127 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/1.004, allocations: 25.66 kB / 1.127 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/1.007, allocations: 1.238 MB / 1.128 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/1.007, allocations: 119.2 kB / 1.128 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/1.008, allocations: 177.7 kB / 1.128 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/1.009, allocations: 0.8952 MB / 1.129 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.009, allocations: 4 kB / 1.129 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.009, allocations: 1.125 kB / 1.129 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.01, allocations: 3.938 kB / 1.129 GB, free: 5.191 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.001243/1.011, allocations: 0.6899 MB / 1.13 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.011, allocations: 9.5 kB / 1.13 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.012, allocations: 129.4 kB / 1.13 GB, free: 20.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/1.012, allocations: 327.2 kB / 1.13 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/1.013, allocations: 58.5 kB / 1.13 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/1.013, allocations: 28.31 kB / 1.13 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/1.013, allocations: 360.5 kB / 1.131 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.013, allocations: 1.594 kB / 1.131 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/1.013, allocations: 12.72 kB / 1.131 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/1.013, allocations: 10.62 kB / 1.131 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/1.014, allocations: 269.3 kB / 1.131 GB, free: 20.31 MB / 0.8731 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.001799/1.016, allocations: 1.496 MB / 1.132 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/1.016, allocations: 197 kB / 1.133 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/1.016, allocations: 122.4 kB / 1.133 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.017, allocations: 0.5018 MB / 1.133 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.017, allocations: 35.31 kB / 1.133 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/1.017, allocations: 2.531 kB / 1.133 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0009506/1.018, allocations: 358.1 kB / 1.134 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/1.018, allocations: 58.38 kB / 1.134 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/1.019, allocations: 313.9 kB / 1.134 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/1.019, allocations: 30.77 kB / 1.134 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/1.019, allocations: 188 kB / 1.134 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/1.019, allocations: 47.8 kB / 1.134 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/1.019, allocations: 47.09 kB / 1.134 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.019, allocations: 340 kB / 1.135 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/1.019, allocations: 88.86 kB / 1.135 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/1.02, allocations: 145.6 kB / 1.135 GB, free: 18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/1.02, allocations: 237.2 kB / 1.135 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.02, allocations: 7.875 kB / 1.135 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006124/1.021, allocations: 281.8 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.021, allocations: 5.562 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.021, allocations: 1.156 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.021, allocations: 3.734 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.021, allocations: 45.31 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.021, allocations: 5.844 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.021, allocations: 30.69 kB / 1.135 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/1.021, allocations: 16.97 kB / 1.135 GB, free: 17.87 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.022, allocations: 155.3 kB / 1.136 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.022, allocations: 28.78 kB / 1.136 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/1.022, allocations: 311.9 kB / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.022, allocations: 5.375 kB / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.022, allocations: 4 kB / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.022, allocations: 0 / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/1.024, allocations: 0.8118 MB / 1.137 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.024, allocations: 6.797 kB / 1.137 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/1.024, allocations: 34.28 kB / 1.137 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/1.024, allocations: 3.375 kB / 1.137 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/1.024, allocations: 11.56 kB / 1.137 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.024, allocations: 6.625 kB / 1.137 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.024, allocations: 3.906 kB / 1.137 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/1.025, allocations: 400 kB / 1.137 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.025, allocations: 134.1 kB / 1.137 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/1.025, allocations: 11.69 kB / 1.137 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/1.025, allocations: 14.98 kB / 1.137 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.025, allocations: 14.19 kB / 1.137 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.025, allocations: 10.72 kB / 1.137 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002408/1.025, allocations: 230.8 kB / 1.137 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/1.025, allocations: 4 kB / 1.137 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006531/1.026, allocations: 121.1 kB / 1.138 GB, free: 16.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000614/1.027, allocations: 219.4 kB / 1.138 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005639/1.027, allocations: 235.3 kB / 1.138 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.027, allocations: 1.188 kB / 1.138 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/1.028, allocations: 116.2 kB / 1.138 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/1.028, allocations: 175 kB / 1.138 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.03, allocations: 0.6349 MB / 1.139 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/1.03, allocations: 0.782 MB / 1.14 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.03, allocations: 33.28 kB / 1.14 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of SimCode: time 1.192e-06/1.03, allocations: 4 kB / 1.14 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.01056/1.041, allocations: 6.24 MB / 1.146 GB, free: 15.07 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches