Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001249/0.00125, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.00132/0.00132, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003091/0.003091, allocations: 67.92 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3581, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7165/1.075, allocations: 161 MB / 1.221 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006338/1.081, allocations: 4.542 MB / 1.226 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/1.082, allocations: 9.469 kB / 1.226 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004805/1.082, allocations: 109.3 kB / 1.226 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/1.084, allocations: 0.5118 MB / 1.226 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/1.086, allocations: 0.7081 MB / 1.227 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007892/1.086, allocations: 0.5799 MB / 1.228 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/1.087, allocations: 207.7 kB / 1.228 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/1.088, allocations: 460.5 kB / 1.228 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/1.088, allocations: 296 kB / 1.229 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/1.089, allocations: 18.03 kB / 1.229 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/1.09, allocations: 1.05 MB / 1.23 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/1.09, allocations: 97.55 kB / 1.23 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/1.091, allocations: 125.4 kB / 1.23 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007482/1.091, allocations: 0.4917 MB / 1.23 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.091, allocations: 0 / 1.23 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/1.091, allocations: 0 / 1.23 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.091, allocations: 0 / 1.23 GB, free: 14.75 MB / 0.9512 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.0009998/1.092, allocations: 0.5887 MB / 1.231 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.092, allocations: 8.531 kB / 1.231 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/1.093, allocations: 78.72 kB / 1.231 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/1.093, allocations: 287.1 kB / 1.231 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/1.094, allocations: 21.2 kB / 1.231 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/1.094, allocations: 16.25 kB / 1.231 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/1.094, allocations: 296.6 kB / 1.232 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.094, allocations: 0 / 1.232 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/1.094, allocations: 12 kB / 1.232 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/1.094, allocations: 11.88 kB / 1.232 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/1.095, allocations: 207.4 kB / 1.232 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/1.096, allocations: 1.238 MB / 1.233 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/1.097, allocations: 176.9 kB / 1.233 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/1.097, allocations: 108.2 kB / 1.233 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008046/1.098, allocations: 339.2 kB / 1.234 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/1.098, allocations: 38.69 kB / 1.234 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.098, allocations: 0 / 1.234 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007988/1.099, allocations: 281 kB / 1.234 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/1.099, allocations: 158.2 kB / 1.234 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/1.099, allocations: 287.5 kB / 1.234 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/1.099, allocations: 29.7 kB / 1.234 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.099, allocations: 151.8 kB / 1.235 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/1.099, allocations: 47.3 kB / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/1.099, allocations: 41.7 kB / 1.235 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.1, allocations: 338.8 kB / 1.235 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/1.1, allocations: 63.95 kB / 1.235 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/1.1, allocations: 152.4 kB / 1.235 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/1.1, allocations: 211.5 kB / 1.235 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.1, allocations: 3.938 kB / 1.235 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005417/1.101, allocations: 249.1 kB / 1.236 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.101, allocations: 4 kB / 1.236 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.101, allocations: 4 kB / 1.236 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.101, allocations: 4 kB / 1.236 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/1.101, allocations: 35.97 kB / 1.236 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.101, allocations: 7.938 kB / 1.236 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/1.101, allocations: 28.08 kB / 1.236 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/1.101, allocations: 12 kB / 1.236 GB, free: 9.133 MB / 0.9512 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.0001646/1.102, allocations: 149.8 kB / 1.236 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.102, allocations: 27.62 kB / 1.236 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/1.102, allocations: 191.2 kB / 1.236 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.102, allocations: 7.984 kB / 1.236 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.102, allocations: 0 / 1.236 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.102, allocations: 4 kB / 1.236 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/1.103, allocations: 0.8479 MB / 1.237 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.103, allocations: 4 kB / 1.237 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/1.104, allocations: 24.14 kB / 1.237 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/1.104, allocations: 3.938 kB / 1.237 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.104, allocations: 4.625 kB / 1.237 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.104, allocations: 7.938 kB / 1.237 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.104, allocations: 0 / 1.237 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/1.104, allocations: 335.4 kB / 1.237 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/1.104, allocations: 112.8 kB / 1.237 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/1.104, allocations: 12.72 kB / 1.237 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.105, allocations: 11.98 kB / 1.237 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.105, allocations: 16.05 kB / 1.237 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/1.105, allocations: 4 kB / 1.237 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002584/1.105, allocations: 233.9 kB / 1.238 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.105, allocations: 0 / 1.238 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004939/1.105, allocations: 95.98 kB / 1.238 GB, free: 6.918 MB / 0.9512 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.0005928/1.106, allocations: 233.7 kB / 1.238 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004126/1.106, allocations: 147.9 kB / 1.238 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.106, allocations: 8.438 kB / 1.238 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.107, allocations: 59.91 kB / 1.238 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/1.107, allocations: 139.7 kB / 1.238 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/1.108, allocations: 0.5919 MB / 1.239 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/1.109, allocations: 0.7635 MB / 1.24 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/1.109, allocations: 23.44 kB / 1.24 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/1.109, allocations: 0 / 1.24 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.008844/1.118, allocations: 5.222 MB / 1.245 GB, free: 15.71 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches