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.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.504/2.504, allocations: 390.2 MB / 0.6646 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7143, allocations: 140.4 MB / 0.9496 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2359/0.9502, allocations: 169.4 MB / 1.115 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009378/0.9596, allocations: 7.138 MB / 1.122 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.9601, allocations: 11.94 kB / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.9607, allocations: 170.7 kB / 1.122 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.9638, allocations: 1.26 MB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.9655, allocations: 0.6322 MB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000884/0.9664, allocations: 0.7564 MB / 1.125 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.9669, allocations: 298.7 kB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.968, allocations: 0.5643 MB / 1.126 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008013/0.9688, allocations: 422.5 kB / 1.126 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.9689, allocations: 27.98 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.9713, allocations: 1.239 MB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.9715, allocations: 123.6 kB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.9717, allocations: 171.2 kB / 1.128 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.9734, allocations: 0.9 MB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9734, allocations: 0 / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9734, allocations: 0 / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.9734, allocations: 0 / 1.128 GB, free: 10.12 MB / 0.8887 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.001049/0.9745, allocations: 0.6896 MB / 1.129 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.9745, allocations: 16.03 kB / 1.129 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.9756, allocations: 123.4 kB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.976, allocations: 333.1 kB / 1.13 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.9761, allocations: 54.25 kB / 1.13 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.9762, allocations: 24 kB / 1.13 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.9768, allocations: 370.1 kB / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9769, allocations: 0 / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.9769, allocations: 12 kB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.9769, allocations: 8 kB / 1.13 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.9775, allocations: 274 kB / 1.13 GB, free: 8.125 MB / 0.8887 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.001944/0.9794, allocations: 1.496 MB / 1.132 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.9799, allocations: 194.6 kB / 1.132 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.9801, allocations: 119 kB / 1.132 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.9813, allocations: 0.5053 MB / 1.132 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.9813, allocations: 38.5 kB / 1.133 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.9813, allocations: 0 / 1.133 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.001088/0.9824, allocations: 361 kB / 1.133 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.9825, allocations: 55.39 kB / 1.133 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.9828, allocations: 312.5 kB / 1.133 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.9829, allocations: 33.7 kB / 1.133 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.983, allocations: 184 kB / 1.133 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.9831, allocations: 51.34 kB / 1.133 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.9832, allocations: 49.61 kB / 1.134 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9833, allocations: 338.8 kB / 1.134 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.9835, allocations: 87.86 kB / 1.134 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.9838, allocations: 144.2 kB / 1.134 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.9842, allocations: 246.2 kB / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9842, allocations: 4 kB / 1.134 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005974/0.9848, allocations: 281.9 kB / 1.135 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9848, allocations: 6.031 kB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9849, allocations: 4 kB / 1.135 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9849, allocations: 0 / 1.135 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.9851, allocations: 47.91 kB / 1.135 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9852, allocations: 8.188 kB / 1.135 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.9854, allocations: 27.67 kB / 1.135 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.9854, allocations: 16 kB / 1.135 GB, free: 3.242 MB / 0.8887 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.0001665/0.9856, allocations: 150.5 kB / 1.135 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.9857, allocations: 31.62 kB / 1.135 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.9864, allocations: 304.3 kB / 1.135 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.9865, allocations: 7.938 kB / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9865, allocations: 0 / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.9865, allocations: 3.984 kB / 1.135 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.9878, allocations: 0.8082 MB / 1.136 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.9878, allocations: 0 / 1.136 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.988, allocations: 39.91 kB / 1.136 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9881, allocations: 0 / 1.136 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.9881, allocations: 11.94 kB / 1.136 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9881, allocations: 8.219 kB / 1.136 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9881, allocations: 8 kB / 1.136 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.9887, allocations: 403.2 kB / 1.136 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.9889, allocations: 132.7 kB / 1.137 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.9889, allocations: 11.94 kB / 1.137 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.9892, allocations: 11.98 kB / 1.137 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.9893, allocations: 19.92 kB / 1.137 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.9893, allocations: 16.03 kB / 1.137 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003004/0.9896, allocations: 227 kB / 1.137 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9896, allocations: 0 / 1.137 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005144/0.9901, allocations: 119.8 kB / 1.137 GB, free: 0.8086 MB / 0.8887 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.0005555/0.9907, allocations: 225.5 kB / 1.137 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.9912, allocations: 235 kB / 1.137 GB, free: 368 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9912, allocations: 96 / 1.137 GB, free: 368 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.9915, allocations: 115.7 kB / 1.137 GB, free: 252 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008645/0.9923, allocations: 165.2 kB / 1.138 GB, free: 92 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.9934, allocations: 0.6049 MB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.9937, allocations: 0.795 MB / 1.139 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002994/0.994, allocations: 82.81 kB / 1.139 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.9941, allocations: 31.44 kB / 1.139 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.9941, allocations: 0 / 1.139 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.01394/1.008, allocations: 7.278 MB / 1.146 GB, free: 7.309 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches