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.001186/0.001186, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.752/2.752, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6008, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1712/0.772, allocations: 163.2 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.7779, allocations: 4.571 MB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.7784, allocations: 7.938 kB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.7789, allocations: 135 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.7805, allocations: 0.5328 MB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.7824, allocations: 0.7704 MB / 1.183 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007501/0.7831, allocations: 0.5768 MB / 1.183 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.7835, allocations: 213.1 kB / 1.183 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.7847, allocations: 466.3 kB / 1.184 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007097/0.7854, allocations: 294.8 kB / 1.184 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.7855, allocations: 20 kB / 1.184 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.7874, allocations: 1.002 MB / 1.185 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.7876, allocations: 87.77 kB / 1.185 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.7878, allocations: 127.3 kB / 1.185 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.7891, allocations: 0.7052 MB / 1.186 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7891, allocations: 0 / 1.186 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7891, allocations: 0 / 1.186 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.7892, allocations: 0 / 1.186 GB, free: 5.094 MB / 0.9356 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.001039/0.7902, allocations: 0.5919 MB / 1.187 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7903, allocations: 12.03 kB / 1.187 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.7903, allocations: 50.55 kB / 1.187 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.791, allocations: 75.59 kB / 1.187 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.7915, allocations: 291.2 kB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.7916, allocations: 16 kB / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.7916, allocations: 16 kB / 1.187 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.7921, allocations: 287.4 kB / 1.187 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.7922, allocations: 0 / 1.187 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.7922, allocations: 19.88 kB / 1.187 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.7922, allocations: 4 kB / 1.187 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.7927, allocations: 203.5 kB / 1.188 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.7945, allocations: 1.249 MB / 1.189 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.7949, allocations: 173 kB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.7952, allocations: 120.3 kB / 1.189 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.796, allocations: 327.2 kB / 1.189 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.7961, allocations: 42.56 kB / 1.189 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.7961, allocations: 0 / 1.189 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007989/0.7969, allocations: 277 kB / 1.19 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.797, allocations: 158.7 kB / 1.19 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.7973, allocations: 290.9 kB / 1.19 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.7974, allocations: 33.7 kB / 1.19 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.7975, allocations: 147.8 kB / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.7975, allocations: 47.28 kB / 1.19 GB, free: 336 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.7976, allocations: 41.7 kB / 1.19 GB, free: 288 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7978, allocations: 342.8 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.7979, allocations: 67.94 kB / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.7982, allocations: 140.5 kB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.7986, allocations: 211.5 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7986, allocations: 8 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005292/0.7991, allocations: 241 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7991, allocations: 11.98 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7992, allocations: 0 / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.7992, allocations: 4 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.7994, allocations: 44.17 kB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.7994, allocations: 4 kB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7996, allocations: 31.77 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.7997, allocations: 8 kB / 1.191 GB, free: 15.12 MB / 0.9512 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.0001468/0.7998, allocations: 153.7 kB / 1.192 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.8, allocations: 23.72 kB / 1.192 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.8005, allocations: 185.8 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.8005, allocations: 4.359 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.8005, allocations: 7.938 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.8005, allocations: 7.938 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.8016, allocations: 0.8433 MB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8016, allocations: 12.09 kB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.8017, allocations: 27.86 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.8017, allocations: 4 kB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.8017, allocations: 0 / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.8018, allocations: 4 kB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8018, allocations: 0 / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.8024, allocations: 339.4 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.8025, allocations: 112.7 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.8025, allocations: 8 kB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.8027, allocations: 8.109 kB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.8027, allocations: 19.98 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.8028, allocations: 8 kB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002431/0.803, allocations: 233.9 kB / 1.193 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.803, allocations: 0 / 1.193 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000495/0.8035, allocations: 99.84 kB / 1.193 GB, free: 12.89 MB / 0.9512 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.001419/0.8049, allocations: 0.9847 MB / 1.194 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004389/0.8054, allocations: 156.3 kB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8054, allocations: 7.938 kB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.8056, allocations: 55.91 kB / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.8064, allocations: 127.2 kB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.81, allocations: 2.774 MB / 1.197 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.8104, allocations: 0.7635 MB / 1.198 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.8106, allocations: 58.88 kB / 1.198 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.8108, allocations: 75.42 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.8108, allocations: 0 / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.8381, allocations: 8.545 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.529, allocations: 18.78 kB / 1.207 GB, free: 15.26 MB / 0.9669 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