Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001947/0.001947, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.374/2.374, allocations: 390.2 MB / 0.6643 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6721, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1925/0.8647, allocations: 161 MB / 1.106 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006136/0.8708, allocations: 4.551 MB / 1.111 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.8713, allocations: 11.94 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.8719, allocations: 95.36 kB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.8738, allocations: 0.5097 MB / 1.111 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.8761, allocations: 0.7164 MB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/0.8771, allocations: 0.5768 MB / 1.113 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.8775, allocations: 209 kB / 1.113 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.8786, allocations: 458.3 kB / 1.113 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.8793, allocations: 295 kB / 1.114 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.8793, allocations: 20 kB / 1.114 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.8812, allocations: 1.048 MB / 1.115 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.8814, allocations: 99.77 kB / 1.115 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.8816, allocations: 119.4 kB / 1.115 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.883, allocations: 0.7635 MB / 1.116 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.883, allocations: 8 kB / 1.116 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.693e-06/0.883, allocations: 0 / 1.116 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.883, allocations: 0 / 1.116 GB, free: 6.965 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001245/0.8843, allocations: 0.5956 MB / 1.116 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8843, allocations: 8.031 kB / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000741/0.8851, allocations: 75.59 kB / 1.116 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.8855, allocations: 287.3 kB / 1.117 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.8855, allocations: 16 kB / 1.117 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.8856, allocations: 20 kB / 1.117 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.8861, allocations: 283.4 kB / 1.117 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8861, allocations: 0 / 1.117 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.8862, allocations: 12 kB / 1.117 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8862, allocations: 11.94 kB / 1.117 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.8867, allocations: 207.7 kB / 1.117 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.8884, allocations: 1.249 MB / 1.118 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.8887, allocations: 169 kB / 1.118 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.8889, allocations: 116.2 kB / 1.119 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.8897, allocations: 331.2 kB / 1.119 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.8898, allocations: 42.62 kB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.8898, allocations: 0 / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.000788/0.8906, allocations: 277.5 kB / 1.119 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.8907, allocations: 162.2 kB / 1.119 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.891, allocations: 287 kB / 1.12 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.891, allocations: 25.7 kB / 1.12 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.8911, allocations: 155.8 kB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.8912, allocations: 51.42 kB / 1.12 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.8913, allocations: 41.7 kB / 1.12 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8914, allocations: 338.8 kB / 1.12 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.8916, allocations: 67.94 kB / 1.12 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.8918, allocations: 142.9 kB / 1.12 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.8922, allocations: 211.5 kB / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8922, allocations: 0 / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005239/0.8928, allocations: 249.2 kB / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8928, allocations: 4 kB / 1.121 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8928, allocations: 4 kB / 1.121 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8928, allocations: 0 / 1.121 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.893, allocations: 39.92 kB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.893, allocations: 0 / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.8933, allocations: 31.73 kB / 1.121 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.8933, allocations: 19.92 kB / 1.121 GB, free: 1.043 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.000145/0.8934, allocations: 153.8 kB / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.8936, allocations: 23.72 kB / 1.121 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.8941, allocations: 205.9 kB / 1.121 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.8941, allocations: 4 kB / 1.121 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8941, allocations: 0 / 1.121 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8941, allocations: 4 kB / 1.121 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.8952, allocations: 0.8472 MB / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.8952, allocations: 0 / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.8953, allocations: 27.92 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.8953, allocations: 3.938 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.8954, allocations: 4 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8954, allocations: 160 / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8954, allocations: 8 kB / 1.122 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.896, allocations: 339.3 kB / 1.122 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.8961, allocations: 120.7 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.8962, allocations: 7.984 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.8963, allocations: 8 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.8964, allocations: 7.984 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8964, allocations: 4 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002506/0.8967, allocations: 242 kB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8967, allocations: 0 / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004841/0.8972, allocations: 103.8 kB / 1.123 GB, free: 14.8 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005818/0.8978, allocations: 206.9 kB / 1.123 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.8982, allocations: 159.7 kB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8982, allocations: 0 / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.8984, allocations: 60.72 kB / 1.123 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.8992, allocations: 140.4 kB / 1.123 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.9, allocations: 0.5509 MB / 1.124 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.9004, allocations: 0.7635 MB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.9006, allocations: 66.88 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.9007, allocations: 23.44 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/0.9007, allocations: 0 / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of Templates: time 0.01121/0.9119, allocations: 5.74 MB / 1.13 GB, free: 7.117 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches