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.008884/0.008884, allocations: 94.77 kB / 15.73 MB, free: 6.039 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.00196/0.00196, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.403/1.403, 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.16 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3433, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1928/0.5362, allocations: 163.2 MB / 1.247 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006339/0.5425, allocations: 4.58 MB / 1.251 GB, free: 9.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.543, allocations: 7.938 kB / 1.251 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.5436, allocations: 123.1 kB / 1.251 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.5452, allocations: 0.5601 MB / 1.252 GB, free: 8.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.5473, allocations: 0.7883 MB / 1.253 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.5482, allocations: 0.5768 MB / 1.253 GB, free: 7.457 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.5486, allocations: 201.3 kB / 1.254 GB, free: 7.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5498, allocations: 486.2 kB / 1.254 GB, free: 6.781 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.5504, allocations: 294.8 kB / 1.254 GB, free: 6.492 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.5505, allocations: 16 kB / 1.254 GB, free: 6.477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.5525, allocations: 1.013 MB / 1.255 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.5526, allocations: 83.8 kB / 1.255 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.5528, allocations: 123.3 kB / 1.256 GB, free: 5.258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.554, allocations: 0.7166 MB / 1.256 GB, free: 4.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.554, allocations: 3.984 kB / 1.256 GB, free: 4.535 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.554, allocations: 0 / 1.256 GB, free: 4.535 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.554, allocations: 0 / 1.256 GB, free: 4.535 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.00102/0.555, allocations: 0.6008 MB / 1.257 GB, free: 3.887 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5551, allocations: 8.031 kB / 1.257 GB, free: 3.879 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.5552, allocations: 54.55 kB / 1.257 GB, free: 3.816 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/0.5558, allocations: 83.7 kB / 1.257 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.5563, allocations: 311.3 kB / 1.257 GB, free: 3.391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5563, allocations: 12 kB / 1.257 GB, free: 3.379 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.5564, allocations: 20 kB / 1.257 GB, free: 3.359 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.5569, allocations: 287.4 kB / 1.258 GB, free: 3.051 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5569, allocations: 4 kB / 1.258 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.5569, allocations: 11.94 kB / 1.258 GB, free: 3.035 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.5569, allocations: 4 kB / 1.258 GB, free: 3.031 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.5574, allocations: 207.7 kB / 1.258 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.5592, allocations: 1.238 MB / 1.259 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.5595, allocations: 169 kB / 1.259 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.5597, allocations: 108.4 kB / 1.259 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007887/0.5605, allocations: 347.1 kB / 1.26 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5605, allocations: 30.56 kB / 1.26 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.5605, allocations: 4 kB / 1.26 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.000818/0.5614, allocations: 281.2 kB / 1.26 GB, free: 472 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.5615, allocations: 158.2 kB / 1.26 GB, free: 276 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5651/1.127, allocations: 284.1 kB / 1.26 GB, free: 176.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/1.127, allocations: 26.3 kB / 1.26 GB, free: 176.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/1.127, allocations: 149.4 kB / 1.26 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/1.127, allocations: 51.09 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.127, allocations: 40.19 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.127, allocations: 341 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/1.128, allocations: 69.61 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/1.128, allocations: 144.4 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/1.128, allocations: 212.2 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.128, allocations: 4.688 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006564/1.129, allocations: 249.6 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.129, allocations: 7.625 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.129, allocations: 2.094 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.129, allocations: 4.875 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.129, allocations: 36.72 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.129, allocations: 8.047 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/1.129, allocations: 33.83 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/1.13, allocations: 10.02 kB / 1.262 GB, free: 175.9 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.0001456/1.13, allocations: 150 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/1.13, allocations: 25.14 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/1.13, allocations: 190.8 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.13, allocations: 2.719 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.13, allocations: 5.578 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.13, allocations: 5.453 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/1.131, allocations: 0.855 MB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.131, allocations: 2.547 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/1.132, allocations: 27.94 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.132, allocations: 3.781 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.132, allocations: 2.312 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.132, allocations: 3.516 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.132, allocations: 1.125 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/1.132, allocations: 346.2 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/1.132, allocations: 119.4 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/1.132, allocations: 9.469 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.132, allocations: 7.375 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/1.133, allocations: 11.7 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/1.133, allocations: 8.156 kB / 1.263 GB, free: 174.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002563/1.133, allocations: 233.1 kB / 1.264 GB, free: 174.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.133, allocations: 0 / 1.264 GB, free: 174.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005258/1.133, allocations: 99.59 kB / 1.264 GB, free: 174.7 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.001286/1.135, allocations: 0.9803 MB / 1.265 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004472/1.135, allocations: 152 kB / 1.265 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.135, allocations: 1.562 kB / 1.265 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/1.135, allocations: 59.25 kB / 1.265 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/1.136, allocations: 145.7 kB / 1.265 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/1.14, allocations: 2.781 MB / 1.268 GB, free: 172.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.14, allocations: 0.7536 MB / 1.268 GB, free: 171.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002477/1.14, allocations: 59.92 kB / 1.268 GB, free: 171.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.14, allocations: 78.45 kB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of SimCode: time 6.62e-07/1.14, allocations: 0 / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/1.171, allocations: 8.609 MB / 1.277 GB, free: 170.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/9.145, allocations: 4.109 kB / 1.277 GB, free: 170.5 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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