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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005019/0.005018, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001302/0.001302, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2963, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.72/1.016, allocations: 163.2 MB / 1.401 GB, free: 11.94 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006438/1.023, allocations: 4.592 MB / 1.405 GB, free: 8.23 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/1.023, allocations: 9.781 kB / 1.405 GB, free: 8.227 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/1.024, allocations: 122.1 kB / 1.406 GB, free: 8.121 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/1.025, allocations: 0.5351 MB / 1.406 GB, free: 7.715 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/1.027, allocations: 0.7768 MB / 1.407 GB, free: 7.145 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007531/1.028, allocations: 0.5755 MB / 1.407 GB, free: 6.812 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/1.028, allocations: 202.3 kB / 1.408 GB, free: 6.699 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/1.03, allocations: 0.6618 MB / 1.408 GB, free: 6.266 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/1.03, allocations: 288.1 kB / 1.408 GB, free: 6.098 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/1.03, allocations: 18.41 kB / 1.408 GB, free: 6.098 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/1.032, allocations: 0.9972 MB / 1.409 GB, free: 5.539 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/1.032, allocations: 88.69 kB / 1.41 GB, free: 5.48 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/1.032, allocations: 125.2 kB / 1.41 GB, free: 5.402 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/1.034, allocations: 0.7185 MB / 1.41 GB, free: 4.973 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.034, allocations: 0 / 1.41 GB, free: 4.973 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.332e-06/1.034, allocations: 0 / 1.41 GB, free: 4.973 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.034, allocations: 0 / 1.41 GB, free: 4.973 MB / 1.107 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.0009936/1.035, allocations: 0.6104 MB / 1.411 GB, free: 4.414 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.035, allocations: 10.12 kB / 1.411 GB, free: 4.414 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/1.035, allocations: 52.36 kB / 1.411 GB, free: 4.359 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/1.035, allocations: 79.03 kB / 1.411 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/1.036, allocations: 301.9 kB / 1.411 GB, free: 4.035 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/1.036, allocations: 15.34 kB / 1.411 GB, free: 4.027 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/1.036, allocations: 17.78 kB / 1.411 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/1.037, allocations: 283.1 kB / 1.412 GB, free: 3.816 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.037, allocations: 1.094 kB / 1.412 GB, free: 3.816 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.037, allocations: 10.19 kB / 1.412 GB, free: 3.809 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/1.037, allocations: 8.438 kB / 1.412 GB, free: 3.805 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/1.037, allocations: 208.9 kB / 1.412 GB, free: 3.703 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/1.039, allocations: 1.243 MB / 1.413 GB, free: 2.574 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/1.039, allocations: 175 kB / 1.413 GB, free: 2.406 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/1.039, allocations: 118.8 kB / 1.413 GB, free: 2.32 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000792/1.04, allocations: 333.1 kB / 1.414 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.04, allocations: 41 kB / 1.414 GB, free: 1.949 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/1.04, allocations: 3.938 kB / 1.414 GB, free: 1.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0008143/1.041, allocations: 273.6 kB / 1.414 GB, free: 1.801 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/1.041, allocations: 165.4 kB / 1.414 GB, free: 1.605 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/1.041, allocations: 287.2 kB / 1.414 GB, free: 1.414 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/1.041, allocations: 26.83 kB / 1.414 GB, free: 1.383 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.042, allocations: 152.5 kB / 1.415 GB, free: 1.242 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/1.042, allocations: 46 kB / 1.415 GB, free: 1.203 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/1.042, allocations: 41.08 kB / 1.415 GB, free: 1.172 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.042, allocations: 345.1 kB / 1.415 GB, free: 0.832 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/1.042, allocations: 69.19 kB / 1.415 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/1.042, allocations: 143.7 kB / 1.415 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/1.043, allocations: 219.1 kB / 1.415 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.043, allocations: 0 / 1.415 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005529/1.043, allocations: 243.8 kB / 1.416 GB, free: 400 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.043, allocations: 6.375 kB / 1.416 GB, free: 400 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.043, allocations: 6.875 kB / 1.416 GB, free: 396 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.043, allocations: 2.188 kB / 1.416 GB, free: 396 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.044, allocations: 41.28 kB / 1.416 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.044, allocations: 2.5 kB / 1.416 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/1.044, allocations: 35.45 kB / 1.416 GB, free: 360 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/1.044, allocations: 13.31 kB / 1.416 GB, free: 356 kB / 1.107 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.0001545/1.044, allocations: 150.9 kB / 1.416 GB, free: 212 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/1.044, allocations: 28.08 kB / 1.416 GB, free: 196 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/1.045, allocations: 194.4 kB / 1.416 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.045, allocations: 2.75 kB / 1.416 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.045, allocations: 1.438 kB / 1.416 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.045, allocations: 5.031 kB / 1.416 GB, free: 40 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.046, allocations: 0.8529 MB / 1.417 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.046, allocations: 1.094 kB / 1.417 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/1.046, allocations: 26.45 kB / 1.417 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/1.046, allocations: 6.094 kB / 1.417 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.046, allocations: 2.312 kB / 1.417 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.046, allocations: 2.281 kB / 1.417 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.046, allocations: 2.188 kB / 1.417 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/1.047, allocations: 348.8 kB / 1.417 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.047, allocations: 115 kB / 1.417 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/1.047, allocations: 11 kB / 1.417 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.047, allocations: 5.062 kB / 1.417 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/1.047, allocations: 13.86 kB / 1.417 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.047, allocations: 6.844 kB / 1.417 GB, free: 14.81 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000253/1.047, allocations: 234.2 kB / 1.418 GB, free: 14.66 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.2e-07/1.047, allocations: 0 / 1.418 GB, free: 14.66 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004861/1.048, allocations: 103.1 kB / 1.418 GB, free: 14.63 MB / 1.123 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.001345/1.049, allocations: 0.9879 MB / 1.419 GB, free: 13.78 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004216/1.05, allocations: 155 kB / 1.419 GB, free: 13.71 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.05, allocations: 0 / 1.419 GB, free: 13.71 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.05, allocations: 57.56 kB / 1.419 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/1.051, allocations: 136.1 kB / 1.419 GB, free: 13.62 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/1.054, allocations: 2.775 MB / 1.422 GB, free: 11.47 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/1.055, allocations: 0.759 MB / 1.423 GB, free: 10.74 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001988/1.055, allocations: 66.34 kB / 1.423 GB, free: 10.71 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/1.055, allocations: 74.03 kB / 1.423 GB, free: 10.65 MB / 1.123 GB Notification: Performance of SimCode: time 2.81e-07/1.055, allocations: 1.562 kB / 1.423 GB, free: 10.65 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/1.087, allocations: 8.613 MB / 1.431 GB, free: 5.031 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/9.312, allocations: 8 kB / 1.431 GB, free: 5.023 MB / 1.123 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 400 --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