Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_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.001107/0.001107, 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.001684/0.001684, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6257/0.628, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1599/0.7879, allocations: 163.2 MB / 1.109 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006064/0.7941, allocations: 4.583 MB / 1.114 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.7944, allocations: 11.94 kB / 1.114 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.7949, allocations: 123 kB / 1.114 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.7962, allocations: 0.5367 MB / 1.114 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.7979, allocations: 0.7665 MB / 1.115 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.7985, allocations: 0.573 MB / 1.116 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.7988, allocations: 221 kB / 1.116 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.7997, allocations: 462.3 kB / 1.116 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.8002, allocations: 294.8 kB / 1.116 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.8003, allocations: 16 kB / 1.117 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.8017, allocations: 0.9977 MB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.8019, allocations: 87.78 kB / 1.118 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.802, allocations: 127.4 kB / 1.118 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.803, allocations: 0.713 MB / 1.118 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.803, allocations: 0 / 1.118 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.082e-06/0.803, allocations: 0 / 1.118 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8031, allocations: 0 / 1.118 GB, free: 4.508 MB / 0.8731 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.0008975/0.804, allocations: 0.5958 MB / 1.119 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.804, allocations: 8.031 kB / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.8041, allocations: 54.55 kB / 1.119 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.8047, allocations: 75.59 kB / 1.119 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.8051, allocations: 287.2 kB / 1.119 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.8051, allocations: 12 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.8052, allocations: 24 kB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.8056, allocations: 283.4 kB / 1.12 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8057, allocations: 0 / 1.12 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.8057, allocations: 11.94 kB / 1.12 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.8057, allocations: 4 kB / 1.12 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.8061, allocations: 203.8 kB / 1.12 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.8076, allocations: 1.257 MB / 1.121 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.8079, allocations: 165 kB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.8081, allocations: 124.3 kB / 1.121 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.8089, allocations: 335.1 kB / 1.122 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.8089, allocations: 34.56 kB / 1.122 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8089, allocations: 3.938 kB / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007483/0.8097, allocations: 281.4 kB / 1.122 GB, free: 460 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.8098, allocations: 158.2 kB / 1.122 GB, free: 264 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.81, allocations: 286.9 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.8101, allocations: 29.7 kB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.8102, allocations: 147.8 kB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.8102, allocations: 51.3 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.8103, allocations: 37.83 kB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8104, allocations: 346.8 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.8106, allocations: 63.94 kB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.8108, allocations: 142.4 kB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.8112, allocations: 215.5 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8112, allocations: 0 / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005116/0.8117, allocations: 241.3 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8117, allocations: 12.02 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8118, allocations: 4 kB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8118, allocations: 4 kB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.812, allocations: 39.92 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.812, allocations: 4 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.8122, allocations: 27.67 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.8122, allocations: 12 kB / 1.124 GB, free: 14.53 MB / 0.8887 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.0001252/0.8123, allocations: 157.6 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.8125, allocations: 31.72 kB / 1.124 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.813, allocations: 182.1 kB / 1.124 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.813, allocations: 7.984 kB / 1.124 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.813, allocations: 0 / 1.124 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.813, allocations: 7.875 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.8139, allocations: 0.8511 MB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8139, allocations: 128 / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.8141, allocations: 35.86 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8141, allocations: 0 / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.8141, allocations: 8 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8141, allocations: 0 / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8141, allocations: 4 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.8146, allocations: 335.5 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.8147, allocations: 124.8 kB / 1.125 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.8148, allocations: 4 kB / 1.125 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.8149, allocations: 7.984 kB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.815, allocations: 15.92 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.815, allocations: 4 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002131/0.8152, allocations: 233.9 kB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8152, allocations: 0 / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004512/0.8157, allocations: 99.84 kB / 1.126 GB, free: 12.29 MB / 0.8887 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.001161/0.8169, allocations: 0.9817 MB / 1.127 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.8173, allocations: 163.6 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8173, allocations: 0 / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.8174, allocations: 55.91 kB / 1.127 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.8182, allocations: 145.4 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.8215, allocations: 2.758 MB / 1.13 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.8218, allocations: 0.7636 MB / 1.131 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000213/0.822, allocations: 62.94 kB / 1.131 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.8221, allocations: 71.42 kB / 1.131 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of SimCode: time 3.4e-07/0.8221, allocations: 4 kB / 1.131 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.8484, allocations: 8.546 MB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.634, allocations: 3.938 kB / 1.139 GB, free: 14.69 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches