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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001065/0.001065, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01023/0.01023, allocations: 170 kB / 16.26 MB, free: 6.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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 462.6 MB / 0.7364 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 11.25 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4385, allocations: 159.6 MB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2415/0.68, allocations: 158.9 MB / 1.214 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006473/0.6866, allocations: 4.563 MB / 1.218 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.6869, allocations: 11.94 kB / 1.218 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.6874, allocations: 99.36 kB / 1.218 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.6889, allocations: 0.5097 MB / 1.219 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.6909, allocations: 0.7039 MB / 1.22 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.6918, allocations: 0.8108 MB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.6921, allocations: 169.5 kB / 1.221 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009941/0.6932, allocations: 422.4 kB / 1.221 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.6938, allocations: 302.9 kB / 1.221 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.6938, allocations: 12 kB / 1.221 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.6957, allocations: 1.165 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.6958, allocations: 75.78 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.6959, allocations: 149 kB / 1.223 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.6971, allocations: 0.7674 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6971, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.35e-06/0.6971, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.6971, allocations: 3.938 kB / 1.223 GB, free: 11.77 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.0009124/0.698, allocations: 0.5452 MB / 1.224 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6981, allocations: 8.031 kB / 1.224 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.6988, allocations: 83.48 kB / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.6991, allocations: 283.3 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.6991, allocations: 16 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.6992, allocations: 20 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.6997, allocations: 299.3 kB / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.6997, allocations: 0 / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.6998, allocations: 12 kB / 1.225 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6998, allocations: 7.938 kB / 1.225 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.7002, allocations: 219.5 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.702, allocations: 1.246 MB / 1.226 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.7024, allocations: 181 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.7026, allocations: 116.2 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.7034, allocations: 347.2 kB / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.7034, allocations: 42.61 kB / 1.227 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7034, allocations: 0 / 1.227 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007871/0.7042, allocations: 293.1 kB / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.7043, allocations: 166.7 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.7046, allocations: 290.9 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.7046, allocations: 25.7 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.7047, allocations: 147.8 kB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.7048, allocations: 47.38 kB / 1.228 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.7048, allocations: 17.72 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002467/0.7051, allocations: 338.8 kB / 1.228 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.7053, allocations: 79.84 kB / 1.228 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.7055, allocations: 142.1 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.7059, allocations: 227.5 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7059, allocations: 0 / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006125/0.7065, allocations: 257.1 kB / 1.229 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7066, allocations: 4 kB / 1.229 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7066, allocations: 4 kB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.7066, allocations: 4 kB / 1.229 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.7068, allocations: 44.17 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7068, allocations: 4 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.7071, allocations: 35.67 kB / 1.229 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.7071, allocations: 19.92 kB / 1.229 GB, free: 5.82 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.0001386/0.7073, allocations: 141.8 kB / 1.229 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.7074, allocations: 27.72 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.708, allocations: 206.2 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.708, allocations: 7.938 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.708, allocations: 0 / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.708, allocations: 0 / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.709, allocations: 0.8666 MB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7091, allocations: 4 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.7092, allocations: 28.14 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.7092, allocations: 3.938 kB / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.7092, allocations: 8 kB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7092, allocations: 0 / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7092, allocations: 4 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.7099, allocations: 355.2 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.71, allocations: 124.8 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.7101, allocations: 4 kB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.7102, allocations: 15.98 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.7103, allocations: 7.984 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.7103, allocations: 4 kB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002366/0.7105, allocations: 237.9 kB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7105, allocations: 0 / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004913/0.711, allocations: 95.94 kB / 1.231 GB, free: 3.551 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.000606/0.7116, allocations: 214.7 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.7121, allocations: 175.8 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7122, allocations: 0 / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.7123, allocations: 72.84 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.7132, allocations: 130.4 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.7142, allocations: 0.5846 MB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.7147, allocations: 0.7599 MB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.7149, allocations: 67 kB / 1.233 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.715, allocations: 19.44 kB / 1.233 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.715, allocations: 0 / 1.233 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of Templates: time 0.01183/0.7268, allocations: 5.564 MB / 1.238 GB, free: 11.97 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