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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006074/0.006074, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001222/0.001222, allocations: 187.8 kB / 16.67 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.53 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2294, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1615/0.391, allocations: 163.2 MB / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005758/0.3968, allocations: 4.576 MB / 1.251 GB, free: 9.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.3972, allocations: 11.94 kB / 1.251 GB, free: 9.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.3977, allocations: 119.1 kB / 1.251 GB, free: 9.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3992, allocations: 0.5406 MB / 1.252 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.4011, allocations: 0.7665 MB / 1.253 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.4018, allocations: 0.5845 MB / 1.253 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.4022, allocations: 205.7 kB / 1.254 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009901/0.4032, allocations: 474.2 kB / 1.254 GB, free: 6.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.4038, allocations: 291.1 kB / 1.254 GB, free: 6.555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.4039, allocations: 16 kB / 1.254 GB, free: 6.539 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.4054, allocations: 1.002 MB / 1.255 GB, free: 5.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.4055, allocations: 91.77 kB / 1.255 GB, free: 5.445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4057, allocations: 123.3 kB / 1.255 GB, free: 5.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.4068, allocations: 0.7169 MB / 1.256 GB, free: 4.605 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4068, allocations: 0 / 1.256 GB, free: 4.605 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4069, allocations: 0 / 1.256 GB, free: 4.605 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.4069, allocations: 0 / 1.256 GB, free: 4.605 MB / 1.014 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.001069/0.4079, allocations: 0.5996 MB / 1.257 GB, free: 3.957 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.408, allocations: 8.031 kB / 1.257 GB, free: 3.949 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.4081, allocations: 50.55 kB / 1.257 GB, free: 3.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007149/0.4088, allocations: 75.59 kB / 1.257 GB, free: 3.816 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.4093, allocations: 299.3 kB / 1.257 GB, free: 3.484 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4093, allocations: 16 kB / 1.257 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.4094, allocations: 16 kB / 1.257 GB, free: 3.453 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.4099, allocations: 283.4 kB / 1.257 GB, free: 3.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4099, allocations: 4 kB / 1.257 GB, free: 3.145 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4099, allocations: 19.86 kB / 1.257 GB, free: 3.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.41, allocations: 4 kB / 1.257 GB, free: 3.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.4104, allocations: 207.8 kB / 1.258 GB, free: 2.918 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.4119, allocations: 1.238 MB / 1.259 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.4122, allocations: 173 kB / 1.259 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4124, allocations: 108.2 kB / 1.259 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.4131, allocations: 331.2 kB / 1.259 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4132, allocations: 42.69 kB / 1.26 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.4132, allocations: 4 kB / 1.26 GB, free: 0.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0007976/0.414, allocations: 277 kB / 1.26 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.4141, allocations: 158.2 kB / 1.26 GB, free: 372 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.4144, allocations: 283.9 kB / 1.26 GB, free: 84 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4144, allocations: 29.7 kB / 1.26 GB, free: 48 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.491/0.9054, allocations: 149.8 kB / 1.26 GB, free: 176.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.9055, allocations: 47.52 kB / 1.26 GB, free: 176.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.9056, allocations: 43.5 kB / 1.26 GB, free: 176.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.9056, allocations: 340.1 kB / 1.261 GB, free: 176.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.9058, allocations: 68.25 kB / 1.261 GB, free: 176.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.9061, allocations: 147.2 kB / 1.261 GB, free: 176.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.9064, allocations: 211.5 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9065, allocations: 4.531 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005511/0.907, allocations: 242.2 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.907, allocations: 6.562 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9071, allocations: 3.938 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9071, allocations: 3 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.9073, allocations: 44.73 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.9073, allocations: 3.375 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.9075, allocations: 35.8 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.9075, allocations: 11.17 kB / 1.262 GB, free: 176 MB / 1.014 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.000115/0.9077, allocations: 148.9 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.9078, allocations: 28.97 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.9083, allocations: 181.6 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.9083, allocations: 7.484 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9083, allocations: 1.531 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9083, allocations: 5.562 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/0.9092, allocations: 0.8519 MB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9092, allocations: 1.031 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.9093, allocations: 33.44 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9093, allocations: 1.938 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.9094, allocations: 6.562 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.9094, allocations: 2.844 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9094, allocations: 2.016 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.9099, allocations: 341 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.91, allocations: 118.7 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.91, allocations: 8.062 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.9102, allocations: 10.27 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.9103, allocations: 11.72 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.9103, allocations: 8.109 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002268/0.9105, allocations: 239.2 kB / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9105, allocations: 0 / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004641/0.911, allocations: 89.83 kB / 1.264 GB, free: 174.8 MB / 1.014 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.001073/0.9121, allocations: 0.9822 MB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004201/0.9125, allocations: 152.8 kB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9125, allocations: 4.719 kB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.9127, allocations: 63.41 kB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.9135, allocations: 128.5 kB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.9166, allocations: 2.765 MB / 1.268 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.9169, allocations: 0.7582 MB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.9171, allocations: 63.88 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.9172, allocations: 78.16 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.432e-06/0.9172, allocations: 3.938 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.946, allocations: 8.616 MB / 1.277 GB, free: 170.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.29, allocations: 6.891 kB / 1.277 GB, free: 170.7 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches