Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001112/0.001112, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001072/0.001072, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.16 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2797, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6609/0.9406, allocations: 169.5 MB / 1.184 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008732/0.9494, allocations: 7.129 MB / 1.191 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.95, allocations: 12.5 kB / 1.191 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.9506, allocations: 169.6 kB / 1.191 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.954, allocations: 1.265 MB / 1.193 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.9557, allocations: 0.64 MB / 1.193 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008926/0.9566, allocations: 0.7559 MB / 1.194 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.957, allocations: 295.3 kB / 1.194 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.9581, allocations: 0.569 MB / 1.195 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.9589, allocations: 424.7 kB / 1.195 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.9589, allocations: 25.78 kB / 1.195 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.9611, allocations: 1.247 MB / 1.196 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.9612, allocations: 111.5 kB / 1.197 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.9615, allocations: 179.6 kB / 1.197 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.9629, allocations: 0.9028 MB / 1.198 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.9629, allocations: 0 / 1.198 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/0.963, allocations: 4 kB / 1.198 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.963, allocations: 3.938 kB / 1.198 GB, free: 11.82 MB / 0.9044 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.0009579/0.9639, allocations: 0.6888 MB / 1.198 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.964, allocations: 8.828 kB / 1.198 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.965, allocations: 124.7 kB / 1.198 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.9655, allocations: 349.5 kB / 1.199 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.9656, allocations: 51.95 kB / 1.199 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.9657, allocations: 24.94 kB / 1.199 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.9663, allocations: 380.5 kB / 1.199 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9663, allocations: 0 / 1.199 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.9663, allocations: 10.09 kB / 1.199 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.9664, allocations: 8 kB / 1.199 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.9669, allocations: 271.1 kB / 1.199 GB, free: 10.41 MB / 0.9044 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.001804/0.9687, allocations: 1.485 MB / 1.201 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.9691, allocations: 193.4 kB / 1.201 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.9693, allocations: 113.4 kB / 1.201 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009067/0.9702, allocations: 0.5074 MB / 1.202 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.9702, allocations: 40.75 kB / 1.202 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/0.9702, allocations: 3.984 kB / 1.202 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0009345/0.9712, allocations: 359 kB / 1.202 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.9712, allocations: 54 kB / 1.202 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.9716, allocations: 311.1 kB / 1.202 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.9716, allocations: 32.58 kB / 1.202 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.9718, allocations: 188.5 kB / 1.203 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.9719, allocations: 46.86 kB / 1.203 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.972, allocations: 51.84 kB / 1.203 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9721, allocations: 335.9 kB / 1.203 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.9723, allocations: 80.91 kB / 1.203 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.9726, allocations: 156 kB / 1.203 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.973, allocations: 239.7 kB / 1.204 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.9731, allocations: 7.922 kB / 1.204 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005614/0.9736, allocations: 271.7 kB / 1.204 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9737, allocations: 9.172 kB / 1.204 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.9737, allocations: 7 kB / 1.204 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.9737, allocations: 2.781 kB / 1.204 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.9739, allocations: 42.95 kB / 1.204 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.974, allocations: 2.969 kB / 1.204 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.9742, allocations: 30.55 kB / 1.204 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.9742, allocations: 15.84 kB / 1.204 GB, free: 6.75 MB / 0.9044 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.0001518/0.9744, allocations: 156.6 kB / 1.204 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.9745, allocations: 29.03 kB / 1.204 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.9751, allocations: 317.3 kB / 1.204 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9752, allocations: 2.562 kB / 1.204 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.9752, allocations: 0 / 1.204 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9752, allocations: 2.5 kB / 1.204 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.9764, allocations: 0.8096 MB / 1.205 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9765, allocations: 2.438 kB / 1.205 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.9766, allocations: 37.34 kB / 1.205 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.9767, allocations: 8.656 kB / 1.205 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.9767, allocations: 10.88 kB / 1.205 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.9767, allocations: 2.344 kB / 1.205 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9767, allocations: 2.406 kB / 1.205 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.9773, allocations: 400.7 kB / 1.206 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.9774, allocations: 130.2 kB / 1.206 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.9775, allocations: 13.19 kB / 1.206 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.9777, allocations: 11.42 kB / 1.206 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.9778, allocations: 23.61 kB / 1.206 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.9778, allocations: 7.594 kB / 1.206 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001942/0.978, allocations: 232.9 kB / 1.206 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.978, allocations: 0 / 1.206 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005104/0.9785, allocations: 121.9 kB / 1.206 GB, free: 5.094 MB / 0.9044 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.0005079/0.9791, allocations: 235.1 kB / 1.206 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.9795, allocations: 221.3 kB / 1.207 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9796, allocations: 6.594 kB / 1.207 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.9798, allocations: 115.6 kB / 1.207 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.9806, allocations: 171.5 kB / 1.207 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.9816, allocations: 0.5941 MB / 1.207 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.982, allocations: 0.7836 MB / 1.208 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.9822, allocations: 90.33 kB / 1.208 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.9823, allocations: 27.75 kB / 1.208 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9823, allocations: 0 / 1.208 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of Templates: time 0.01281/0.9951, allocations: 7.275 MB / 1.215 GB, free: 14.95 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches