Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_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.001078/0.001078, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001087, allocations: 192.9 kB / 16.14 MB, free: 6.719 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.291/1.291, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.27 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.277, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1631/0.4401, allocations: 161 MB / 1.209 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005364/0.4455, allocations: 4.615 MB / 1.214 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.4459, allocations: 11.94 kB / 1.214 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.4463, allocations: 99.3 kB / 1.214 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.4476, allocations: 0.5059 MB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.4493, allocations: 0.7177 MB / 1.215 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.4502, allocations: 0.8107 MB / 1.216 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.4505, allocations: 177.5 kB / 1.216 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009474/0.4515, allocations: 438.3 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.4521, allocations: 291 kB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.4521, allocations: 12 kB / 1.217 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.4539, allocations: 1.161 MB / 1.218 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.4541, allocations: 87.66 kB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.4542, allocations: 127.4 kB / 1.218 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.4556, allocations: 0.7674 MB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4556, allocations: 0 / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.02e-07/0.4556, allocations: 0 / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4556, allocations: 0 / 1.219 GB, free: 12.79 MB / 0.9825 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.001106/0.4567, allocations: 0.5957 MB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4568, allocations: 11.97 kB / 1.22 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.4569, allocations: 54.48 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/0.4577, allocations: 79.58 kB / 1.22 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.4581, allocations: 283.3 kB / 1.22 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4581, allocations: 16 kB / 1.22 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.4582, allocations: 20 kB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.4587, allocations: 287.4 kB / 1.22 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4587, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.4588, allocations: 15.92 kB / 1.22 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4588, allocations: 8 kB / 1.22 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.4592, allocations: 207.5 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.461, allocations: 1.245 MB / 1.222 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.4613, allocations: 173 kB / 1.222 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.4616, allocations: 112.4 kB / 1.222 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/0.4624, allocations: 331.2 kB / 1.222 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4624, allocations: 42.56 kB / 1.222 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.986e-06/0.4624, allocations: 0 / 1.222 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007639/0.4632, allocations: 273.1 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.4633, allocations: 166.5 kB / 1.223 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.4636, allocations: 287.5 kB / 1.223 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4636, allocations: 25.7 kB / 1.223 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.4637, allocations: 147.9 kB / 1.223 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.4638, allocations: 51.28 kB / 1.223 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.4639, allocations: 41.7 kB / 1.223 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.464, allocations: 338.8 kB / 1.224 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4642, allocations: 71.84 kB / 1.224 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4644, allocations: 145.6 kB / 1.224 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.4648, allocations: 211.5 kB / 1.224 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4648, allocations: 7.922 kB / 1.224 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005043/0.4654, allocations: 241.1 kB / 1.224 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4654, allocations: 8 kB / 1.224 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4654, allocations: 0 / 1.224 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4654, allocations: 4 kB / 1.224 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.4656, allocations: 39.91 kB / 1.224 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4656, allocations: 4.25 kB / 1.224 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.4658, allocations: 39.7 kB / 1.224 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.4659, allocations: 8 kB / 1.224 GB, free: 6.809 MB / 0.9825 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.0001901/0.4661, allocations: 149.8 kB / 1.225 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4662, allocations: 27.62 kB / 1.225 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.4667, allocations: 189.9 kB / 1.225 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4667, allocations: 4 kB / 1.225 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4667, allocations: 0 / 1.225 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4667, allocations: 3.938 kB / 1.225 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.4677, allocations: 0.8549 MB / 1.226 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4678, allocations: 0 / 1.226 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.4679, allocations: 36.02 kB / 1.226 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4679, allocations: 0 / 1.226 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4679, allocations: 4 kB / 1.226 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4679, allocations: 0 / 1.226 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4679, allocations: 7.984 kB / 1.226 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.4685, allocations: 339.2 kB / 1.226 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4687, allocations: 116.8 kB / 1.226 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.4687, allocations: 4 kB / 1.226 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.4689, allocations: 11.98 kB / 1.226 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.4689, allocations: 12 kB / 1.226 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.469, allocations: 4 kB / 1.226 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002533/0.4692, allocations: 237.9 kB / 1.226 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4692, allocations: 0 / 1.226 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005168/0.4697, allocations: 95.92 kB / 1.226 GB, free: 4.582 MB / 0.9825 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.001598/0.4713, allocations: 0.9941 MB / 1.227 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.4718, allocations: 148.3 kB / 1.228 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4718, allocations: 4.125 kB / 1.228 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.472, allocations: 63.89 kB / 1.228 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.4728, allocations: 132.6 kB / 1.228 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.4768, allocations: 2.813 MB / 1.23 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4772, allocations: 0.7599 MB / 1.231 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.4774, allocations: 62.88 kB / 1.231 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4776, allocations: 71.42 kB / 1.231 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of SimCode: time 4.6e-07/0.4776, allocations: 0 / 1.231 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.5025, allocations: 8.223 MB / 1.239 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003753/0.5029, allocations: 246.9 kB / 1.24 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.492, allocations: 4.062 kB / 1.24 GB, free: 7.02 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches