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.008457/0.008457, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001912/0.001912, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.141 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.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.66 kB / 0.9504 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2736, allocations: 140.4 MB / 1.087 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1682/0.4419, allocations: 163.2 MB / 1.247 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006494/0.4485, allocations: 4.583 MB / 1.251 GB, free: 9.652 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.449, allocations: 7.938 kB / 1.251 GB, free: 9.645 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.4497, allocations: 123.1 kB / 1.251 GB, free: 9.523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.4513, allocations: 0.5367 MB / 1.252 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.4534, allocations: 0.7721 MB / 1.253 GB, free: 8.211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.4542, allocations: 0.5767 MB / 1.253 GB, free: 7.633 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.4546, allocations: 205.8 kB / 1.254 GB, free: 7.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.4556, allocations: 474.2 kB / 1.254 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.4562, allocations: 287.1 kB / 1.254 GB, free: 6.684 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.4563, allocations: 20 kB / 1.254 GB, free: 6.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.4579, allocations: 1.002 MB / 1.255 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4581, allocations: 83.78 kB / 1.255 GB, free: 5.578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.4582, allocations: 139.3 kB / 1.255 GB, free: 5.441 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.4595, allocations: 0.7091 MB / 1.256 GB, free: 4.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4595, allocations: 0 / 1.256 GB, free: 4.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4595, allocations: 0 / 1.256 GB, free: 4.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.4595, allocations: 0 / 1.256 GB, free: 4.73 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.001019/0.4605, allocations: 0.5957 MB / 1.257 GB, free: 4.086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4606, allocations: 12.03 kB / 1.257 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.4607, allocations: 50.55 kB / 1.257 GB, free: 4.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000702/0.4614, allocations: 79.59 kB / 1.257 GB, free: 3.938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4618, allocations: 295.3 kB / 1.257 GB, free: 3.609 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4618, allocations: 12 kB / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.4619, allocations: 27.94 kB / 1.257 GB, free: 3.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.4624, allocations: 279.5 kB / 1.257 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4624, allocations: 3.938 kB / 1.257 GB, free: 3.266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.4625, allocations: 11.94 kB / 1.257 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4625, allocations: 4 kB / 1.257 GB, free: 3.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.4629, allocations: 207.8 kB / 1.258 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.4645, allocations: 1.238 MB / 1.259 GB, free: 1.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.4648, allocations: 177 kB / 1.259 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.465, allocations: 108.2 kB / 1.259 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007539/0.4658, allocations: 339.3 kB / 1.259 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4658, allocations: 42.56 kB / 1.26 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.4658, allocations: 0 / 1.26 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0008073/0.4666, allocations: 277.1 kB / 1.26 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.4667, allocations: 158.2 kB / 1.26 GB, free: 496 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.467, allocations: 279.5 kB / 1.26 GB, free: 212 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.467, allocations: 37.7 kB / 1.26 GB, free: 168 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4672, allocations: 143.9 kB / 1.26 GB, free: 20 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.5098/0.977, allocations: 48.69 kB / 1.26 GB, free: 176.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.9772, allocations: 39.3 kB / 1.26 GB, free: 176.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.9772, allocations: 338.2 kB / 1.261 GB, free: 176.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.9775, allocations: 67.41 kB / 1.261 GB, free: 176.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.9777, allocations: 150.8 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.9781, allocations: 213.6 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9781, allocations: 0.7812 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005881/0.9787, allocations: 242.3 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9787, allocations: 6.156 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9787, allocations: 6.594 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.9788, allocations: 3.422 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.979, allocations: 37.59 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.979, allocations: 7.609 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.9792, allocations: 38.19 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.9792, allocations: 10.69 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.0001242/0.9794, allocations: 148.5 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.9795, allocations: 27.2 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.98, allocations: 185.4 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.98, allocations: 6.938 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.98, allocations: 5.062 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.98, allocations: 6.016 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.9809, allocations: 0.8552 MB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9809, allocations: 2.719 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.981, allocations: 21.86 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9811, allocations: 3.672 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9811, allocations: 1.938 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.9811, allocations: 2.422 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9811, allocations: 6.219 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.9816, allocations: 347.9 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.9817, allocations: 110.2 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.9818, allocations: 6.516 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.982, allocations: 6.094 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.982, allocations: 11.44 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.982, allocations: 4.125 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002584/0.9823, allocations: 239.2 kB / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9823, allocations: 0.75 kB / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005254/0.9828, allocations: 97.48 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.001225/0.9841, allocations: 0.9923 MB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.9845, allocations: 149.4 kB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9845, allocations: 3.281 kB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.9847, allocations: 60.23 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.0007961/0.9855, allocations: 134.8 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.003297/0.9888, allocations: 2.765 MB / 1.268 GB, free: 172.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.989, allocations: 0.7606 MB / 1.268 GB, free: 171.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.9893, allocations: 68.92 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.9894, allocations: 74.39 kB / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/0.9894, allocations: 0 / 1.268 GB, free: 171.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/1.02, allocations: 8.61 MB / 1.277 GB, free: 170.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/9.035, allocations: 5.266 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 & 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