Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001546/0.001546, allocations: 110 kB / 16.42 MB, free: 6.523 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.001739/0.001739, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.88 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7231, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1545/0.8776, allocations: 163.2 MB / 1.327 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005236/0.8828, allocations: 4.574 MB / 1.331 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.8832, allocations: 11.94 kB / 1.331 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.8837, allocations: 135 kB / 1.331 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.8851, allocations: 0.5563 MB / 1.332 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.887, allocations: 0.7777 MB / 1.333 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.8877, allocations: 0.5729 MB / 1.333 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.8881, allocations: 225.1 kB / 1.333 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00094/0.889, allocations: 478.2 kB / 1.334 GB, free: 8.609 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.8896, allocations: 302.8 kB / 1.334 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.8897, allocations: 16 kB / 1.334 GB, free: 8.297 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.8913, allocations: 1.005 MB / 1.335 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.8914, allocations: 83.78 kB / 1.335 GB, free: 7.207 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.8916, allocations: 119.4 kB / 1.335 GB, free: 7.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.8927, allocations: 0.7211 MB / 1.336 GB, free: 6.371 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8927, allocations: 0 / 1.336 GB, free: 6.371 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8927, allocations: 0 / 1.336 GB, free: 6.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8927, allocations: 0 / 1.336 GB, free: 6.371 MB / 1.061 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.0009233/0.8937, allocations: 0.6166 MB / 1.337 GB, free: 5.707 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8937, allocations: 8.922 kB / 1.337 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/0.8944, allocations: 79.62 kB / 1.337 GB, free: 5.621 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.8948, allocations: 291.5 kB / 1.337 GB, free: 5.297 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.8949, allocations: 27.89 kB / 1.337 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.8949, allocations: 20 kB / 1.337 GB, free: 5.254 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.8954, allocations: 283.4 kB / 1.337 GB, free: 4.949 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8954, allocations: 0 / 1.337 GB, free: 4.949 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.8955, allocations: 11.98 kB / 1.337 GB, free: 4.938 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.8955, allocations: 11.94 kB / 1.337 GB, free: 4.926 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.8959, allocations: 205.3 kB / 1.338 GB, free: 4.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.8975, allocations: 1.242 MB / 1.339 GB, free: 3.406 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.8978, allocations: 177 kB / 1.339 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.898, allocations: 112.2 kB / 1.339 GB, free: 3.062 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/0.8988, allocations: 331.2 kB / 1.339 GB, free: 2.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.8989, allocations: 42.69 kB / 1.339 GB, free: 2.633 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.8989, allocations: 0 / 1.339 GB, free: 2.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007665/0.8996, allocations: 274 kB / 1.34 GB, free: 2.359 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.8997, allocations: 170.2 kB / 1.34 GB, free: 2.156 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.9, allocations: 283.1 kB / 1.34 GB, free: 1.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.9, allocations: 33.64 kB / 1.34 GB, free: 1.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.9001, allocations: 147.9 kB / 1.34 GB, free: 1.691 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.9002, allocations: 47.59 kB / 1.34 GB, free: 1.645 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.9003, allocations: 41.7 kB / 1.34 GB, free: 1.598 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9004, allocations: 342.8 kB / 1.341 GB, free: 1.254 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.9006, allocations: 71.94 kB / 1.341 GB, free: 1.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.9008, allocations: 136.5 kB / 1.341 GB, free: 1.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.9012, allocations: 219.5 kB / 1.341 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9012, allocations: 0 / 1.341 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005393/0.9017, allocations: 241.2 kB / 1.341 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9017, allocations: 4 kB / 1.341 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9018, allocations: 4 kB / 1.341 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9018, allocations: 8.25 kB / 1.341 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.902, allocations: 43.84 kB / 1.341 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.902, allocations: 4 kB / 1.341 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.9022, allocations: 31.77 kB / 1.341 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.9022, allocations: 16 kB / 1.341 GB, free: 436 kB / 1.061 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.0001302/0.9024, allocations: 149.7 kB / 1.342 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.9025, allocations: 23.86 kB / 1.342 GB, free: 252 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.903, allocations: 189.8 kB / 1.342 GB, free: 44 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.903, allocations: 4 kB / 1.342 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.903, allocations: 4 kB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.9031, allocations: 108.9 kB / 1.342 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.9032, allocations: 19.98 kB / 1.342 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.9035, allocations: 4 kB / 1.342 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.9035, allocations: 15.92 kB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004991/0.904, allocations: 0.5253 MB / 1.342 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006515/0.9047, allocations: 0.6832 MB / 1.343 GB, free: 14.63 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001366/0.9048, allocations: 51.98 kB / 1.343 GB, free: 14.58 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000228/0.9051, allocations: 237.9 kB / 1.343 GB, free: 14.35 MB / 1.076 GB Notification: Performance of Backend: time 2.434e-06/0.9051, allocations: 4.062 kB / 1.343 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.9067, allocations: 413.3 kB / 1.344 GB, free: 13.95 MB / 1.076 GB Notification: Performance of SimCode: time 0.001341/0.908, allocations: 1.022 MB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of Templates: time 0.01331/0.9213, allocations: 7.972 MB / 1.353 GB, free: 4.957 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches