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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_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.01028/0.01028, allocations: 101 kB / 15.73 MB, free: 6.055 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.002065/0.002065, allocations: 192.4 kB / 16.67 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.539/2.539, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.83 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7502, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1927/0.943, allocations: 163.2 MB / 1.326 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006148/0.9491, allocations: 4.576 MB / 1.33 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.9495, allocations: 7.938 kB / 1.33 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.95, allocations: 127.1 kB / 1.33 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.9514, allocations: 0.5445 MB / 1.331 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.9535, allocations: 0.7628 MB / 1.331 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009321/0.9544, allocations: 0.5768 MB / 1.332 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.9549, allocations: 225.1 kB / 1.332 GB, free: 9.062 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.956, allocations: 458.2 kB / 1.333 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.9568, allocations: 286.9 kB / 1.333 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.9568, allocations: 20 kB / 1.333 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.9588, allocations: 1.005 MB / 1.334 GB, free: 7.305 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.959, allocations: 91.77 kB / 1.334 GB, free: 7.215 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.9592, allocations: 127.3 kB / 1.334 GB, free: 7.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.9608, allocations: 0.7169 MB / 1.335 GB, free: 6.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9608, allocations: 0 / 1.335 GB, free: 6.375 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9608, allocations: 4 kB / 1.335 GB, free: 6.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.9609, allocations: 0 / 1.335 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.001043/0.9619, allocations: 0.6048 MB / 1.335 GB, free: 5.719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.9619, allocations: 8.922 kB / 1.335 GB, free: 5.711 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.963e-05/0.962, allocations: 54.55 kB / 1.336 GB, free: 5.648 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.9627, allocations: 79.69 kB / 1.336 GB, free: 5.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.9631, allocations: 303.4 kB / 1.336 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.9631, allocations: 15.95 kB / 1.336 GB, free: 5.219 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.9632, allocations: 24 kB / 1.336 GB, free: 5.195 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.9637, allocations: 287.4 kB / 1.336 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9638, allocations: 0 / 1.336 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.9638, allocations: 7.938 kB / 1.336 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.9638, allocations: 8 kB / 1.336 GB, free: 4.871 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.9642, allocations: 201.4 kB / 1.336 GB, free: 4.676 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.9659, allocations: 1.249 MB / 1.338 GB, free: 3.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.9663, allocations: 173 kB / 1.338 GB, free: 3.133 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.9665, allocations: 112.4 kB / 1.338 GB, free: 3.008 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/0.9673, allocations: 335.2 kB / 1.338 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.9674, allocations: 34.55 kB / 1.338 GB, free: 2.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.9674, allocations: 4 kB / 1.338 GB, free: 2.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008153/0.9682, allocations: 281.3 kB / 1.339 GB, free: 2.297 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.9683, allocations: 154.2 kB / 1.339 GB, free: 2.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.9686, allocations: 294.9 kB / 1.339 GB, free: 1.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.9686, allocations: 29.7 kB / 1.339 GB, free: 1.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.9688, allocations: 144.4 kB / 1.339 GB, free: 1.641 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.9689, allocations: 55.58 kB / 1.339 GB, free: 1.586 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.969, allocations: 46.02 kB / 1.339 GB, free: 1.535 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9691, allocations: 334.8 kB / 1.34 GB, free: 1.199 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.9693, allocations: 67.94 kB / 1.34 GB, free: 1.133 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.9696, allocations: 152.4 kB / 1.34 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.97, allocations: 211.5 kB / 1.34 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.97, allocations: 0 / 1.34 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005441/0.9705, allocations: 245.4 kB / 1.34 GB, free: 484 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9706, allocations: 10.34 kB / 1.34 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9706, allocations: 0 / 1.34 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9706, allocations: 4 kB / 1.34 GB, free: 472 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.9708, allocations: 39.91 kB / 1.34 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.9708, allocations: 4 kB / 1.34 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.971, allocations: 39.7 kB / 1.34 GB, free: 388 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.9711, allocations: 8 kB / 1.34 GB, free: 380 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.0001523/0.9712, allocations: 149.9 kB / 1.34 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.9714, allocations: 27.84 kB / 1.34 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.9719, allocations: 189.9 kB / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.9719, allocations: 4 kB / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9719, allocations: 0 / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.9719, allocations: 7.938 kB / 1.341 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.973, allocations: 0.8471 MB / 1.341 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9731, allocations: 4 kB / 1.341 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.9732, allocations: 31.86 kB / 1.341 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.9732, allocations: 4 kB / 1.341 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.9732, allocations: 3.984 kB / 1.342 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9732, allocations: 4 kB / 1.342 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9732, allocations: 4.156 kB / 1.342 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.9739, allocations: 343.5 kB / 1.342 GB, free: 14.63 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.974, allocations: 108.9 kB / 1.342 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.974, allocations: 8.031 kB / 1.342 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.9742, allocations: 15.92 kB / 1.342 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.9742, allocations: 7.938 kB / 1.342 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.9743, allocations: 4 kB / 1.342 GB, free: 14.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002686/0.9745, allocations: 233.9 kB / 1.342 GB, free: 14.24 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9745, allocations: 8 kB / 1.342 GB, free: 14.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004828/0.975, allocations: 99.81 kB / 1.342 GB, free: 14.14 MB / 1.076 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.001347/0.9764, allocations: 0.9869 MB / 1.343 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.9768, allocations: 155.8 kB / 1.343 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9769, allocations: 0 / 1.343 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.977, allocations: 60.83 kB / 1.343 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007644/0.9778, allocations: 139.8 kB / 1.344 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.9815, allocations: 2.76 MB / 1.346 GB, free: 9.852 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.9819, allocations: 0.7558 MB / 1.347 GB, free: 9.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.9822, allocations: 62.88 kB / 1.347 GB, free: 9.004 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.9823, allocations: 75.41 kB / 1.347 GB, free: 8.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/0.9823, allocations: 0 / 1.347 GB, free: 8.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/1.016, allocations: 8.631 MB / 1.356 GB, free: 468 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/9.782, allocations: 1.688 kB / 1.356 GB, free: 468 kB / 1.076 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/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