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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001296/0.001296, 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.001382/0.001382, allocations: 192.1 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.34 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2854, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1676/0.4531, allocations: 163.2 MB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.4589, allocations: 4.577 MB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.4593, allocations: 11.94 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.4598, allocations: 119 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.4612, allocations: 0.5406 MB / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.4631, allocations: 0.7632 MB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006501/0.4638, allocations: 0.5807 MB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.4641, allocations: 209.2 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009209/0.4651, allocations: 470.2 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.4656, allocations: 275 kB / 1.23 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.4657, allocations: 20 kB / 1.23 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.4673, allocations: 1.002 MB / 1.231 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.4674, allocations: 87.72 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.4676, allocations: 131.4 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.4688, allocations: 0.713 MB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4688, allocations: 0 / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4688, allocations: 0 / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.4688, allocations: 4 kB / 1.232 GB, free: 1.16 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.0009779/0.4698, allocations: 0.584 MB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4699, allocations: 12.03 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.118e-05/0.47, allocations: 50.55 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/0.4707, allocations: 83.44 kB / 1.233 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.4711, allocations: 283.5 kB / 1.233 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4711, allocations: 12 kB / 1.233 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.4712, allocations: 20 kB / 1.233 GB, free: 28 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.4716, allocations: 287.4 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4717, allocations: 4 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.4717, allocations: 7.938 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4717, allocations: 4 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.4722, allocations: 211.5 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.4737, allocations: 1.253 MB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.474, allocations: 173 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4742, allocations: 116.2 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007524/0.475, allocations: 331.1 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.475, allocations: 46.69 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.475, allocations: 4 kB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008143/0.4759, allocations: 277.1 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.476, allocations: 158.2 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.4762, allocations: 283.5 kB / 1.236 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4763, allocations: 33.7 kB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4764, allocations: 143.9 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.4764, allocations: 47.36 kB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.4765, allocations: 45.61 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4766, allocations: 334.8 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4768, allocations: 67.94 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.477, allocations: 152.5 kB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.4774, allocations: 211.5 kB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4774, allocations: 0 / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005589/0.478, allocations: 237.1 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.478, allocations: 13.23 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.478, allocations: 0 / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4781, allocations: 4 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.4783, allocations: 39.92 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4783, allocations: 7.938 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4785, allocations: 43.86 kB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.4786, allocations: 12 kB / 1.238 GB, free: 11.18 MB / 0.9981 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.0001589/0.4787, allocations: 153.8 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4789, allocations: 23.72 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.4794, allocations: 186.2 kB / 1.238 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4794, allocations: 3.938 kB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4794, allocations: 4 kB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4795, allocations: 3.938 kB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.4805, allocations: 0.8587 MB / 1.239 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4805, allocations: 0 / 1.239 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.4807, allocations: 23.97 kB / 1.239 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4807, allocations: 12.14 kB / 1.239 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4807, allocations: 8 kB / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.4807, allocations: 0 / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4807, allocations: 3.938 kB / 1.239 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.4813, allocations: 335.4 kB / 1.239 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4814, allocations: 116.8 kB / 1.239 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.4814, allocations: 0 / 1.239 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4816, allocations: 11.98 kB / 1.239 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.4817, allocations: 11.98 kB / 1.239 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.4817, allocations: 8.188 kB / 1.239 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002447/0.4819, allocations: 233.9 kB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4819, allocations: 0 / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005113/0.4824, allocations: 91.94 kB / 1.24 GB, free: 8.965 MB / 0.9981 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.001523/0.484, allocations: 1.003 MB / 1.241 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.4844, allocations: 143.8 kB / 1.241 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4845, allocations: 4.5 kB / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4846, allocations: 63.84 kB / 1.241 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/0.4854, allocations: 132.6 kB / 1.241 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.4889, allocations: 2.776 MB / 1.244 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4893, allocations: 0.7597 MB / 1.244 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.4895, allocations: 66.86 kB / 1.245 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4896, allocations: 71.42 kB / 1.245 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.4897, allocations: 0 / 1.245 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4848/0.9744, allocations: 8.533 MB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.906, allocations: 5.781 kB / 1.253 GB, free: 188.3 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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