Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001646/0.001646, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001677/0.001677, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.59 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3007, allocations: 157.4 MB / 1.052 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1749/0.4757, allocations: 161 MB / 1.209 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005861/0.4816, allocations: 4.619 MB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.4819, allocations: 11.94 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.4824, allocations: 99.3 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.4836, allocations: 0.5059 MB / 1.214 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.4853, allocations: 0.7082 MB / 1.215 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.4861, allocations: 0.8108 MB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.4864, allocations: 177.5 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.4873, allocations: 434.3 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.4879, allocations: 299 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.488, allocations: 16 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.4898, allocations: 1.157 MB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.4899, allocations: 91.64 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.4901, allocations: 119.4 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.4912, allocations: 0.7674 MB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4912, allocations: 4 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4912, allocations: 3.938 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4912, allocations: 0 / 1.219 GB, free: 13.48 MB / 0.9825 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.0009836/0.4922, allocations: 0.5957 MB / 1.219 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4922, allocations: 8.031 kB / 1.219 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.493, allocations: 83.53 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.4934, allocations: 283.4 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.4935, allocations: 12 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.4935, allocations: 20 kB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.494, allocations: 283.4 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4941, allocations: 0 / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.4941, allocations: 8 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4941, allocations: 7.938 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.4946, allocations: 207.5 kB / 1.22 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.4961, allocations: 1.242 MB / 1.222 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4964, allocations: 177 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.4967, allocations: 120.3 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008103/0.4975, allocations: 323.2 kB / 1.222 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.4975, allocations: 42.56 kB / 1.222 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.4975, allocations: 0 / 1.222 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007621/0.4983, allocations: 281.5 kB / 1.222 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.4984, allocations: 166.2 kB / 1.223 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.4987, allocations: 287 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4987, allocations: 25.7 kB / 1.223 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4988, allocations: 147.8 kB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.4989, allocations: 47.36 kB / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.4989, allocations: 41.7 kB / 1.223 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4991, allocations: 334.8 kB / 1.223 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4993, allocations: 71.94 kB / 1.224 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4995, allocations: 149.5 kB / 1.224 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.4999, allocations: 211.5 kB / 1.224 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4999, allocations: 384 / 1.224 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005135/0.5004, allocations: 245.1 kB / 1.224 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5004, allocations: 7.938 kB / 1.224 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5004, allocations: 4 kB / 1.224 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5005, allocations: 4.188 kB / 1.224 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.5007, allocations: 47.92 kB / 1.224 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5007, allocations: 3.984 kB / 1.224 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5009, allocations: 27.78 kB / 1.224 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.5009, allocations: 19.92 kB / 1.224 GB, free: 7.566 MB / 0.9825 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.0001394/0.5011, allocations: 145.8 kB / 1.224 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.5012, allocations: 27.62 kB / 1.224 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.5017, allocations: 181.9 kB / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5017, allocations: 8 kB / 1.225 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5018, allocations: 0 / 1.225 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5018, allocations: 4.062 kB / 1.225 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009512/0.5027, allocations: 0.8549 MB / 1.225 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5027, allocations: 0 / 1.225 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.5029, allocations: 31.92 kB / 1.225 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5029, allocations: 3.938 kB / 1.225 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.5029, allocations: 4 kB / 1.225 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5029, allocations: 0 / 1.225 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5029, allocations: 4 kB / 1.225 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.5035, allocations: 335.5 kB / 1.226 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.5036, allocations: 112.8 kB / 1.226 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.5036, allocations: 11.89 kB / 1.226 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5038, allocations: 8.062 kB / 1.226 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.5038, allocations: 15.92 kB / 1.226 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.5039, allocations: 4 kB / 1.226 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002281/0.5041, allocations: 233.9 kB / 1.226 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5041, allocations: 0 / 1.226 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000461/0.5046, allocations: 104 kB / 1.226 GB, free: 5.348 MB / 0.9825 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.0005342/0.5051, allocations: 230.2 kB / 1.226 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.5055, allocations: 148 kB / 1.227 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5055, allocations: 0 / 1.227 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.5057, allocations: 63.84 kB / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.5065, allocations: 133 kB / 1.227 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/0.5073, allocations: 0.5485 MB / 1.227 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.5077, allocations: 0.7599 MB / 1.228 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.5079, allocations: 58.89 kB / 1.228 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.5079, allocations: 31.38 kB / 1.228 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.5079, allocations: 0 / 1.228 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.009631/0.5176, allocations: 5.59 MB / 1.234 GB, free: 13.79 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches