Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.008396/0.008396, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.002083/0.002083, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.38/1.38, 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 9.1.3-maint.9.1.x/package.mo): time 2.548/2.548, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.75 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2898, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.183/0.4729, allocations: 169.4 MB / 1.253 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008103/0.481, allocations: 7.131 MB / 1.26 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.4814, allocations: 19.81 kB / 1.26 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.482, allocations: 170.8 kB / 1.26 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.6324/1.114, allocations: 1.252 MB / 1.261 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/1.116, allocations: 0.6293 MB / 1.262 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001307/1.118, allocations: 0.762 MB / 1.263 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/1.118, allocations: 298.7 kB / 1.263 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/1.12, allocations: 0.5678 MB / 1.264 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/1.121, allocations: 427.3 kB / 1.264 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/1.121, allocations: 26.69 kB / 1.264 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/1.124, allocations: 1.249 MB / 1.265 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/1.124, allocations: 112.8 kB / 1.265 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/1.124, allocations: 178.1 kB / 1.265 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/1.126, allocations: 0.9022 MB / 1.266 GB, free: 3.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.126, allocations: 0 / 1.266 GB, free: 3.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/1.126, allocations: 0.7188 kB / 1.266 GB, free: 3.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.126, allocations: 0.9375 kB / 1.266 GB, free: 3.477 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001025/1.127, allocations: 0.6973 MB / 1.267 GB, free: 2.973 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.127, allocations: 10.06 kB / 1.267 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/1.127, allocations: 64.25 kB / 1.267 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.128, allocations: 124 kB / 1.267 GB, free: 2.918 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/1.129, allocations: 341.4 kB / 1.268 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/1.129, allocations: 49.62 kB / 1.268 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/1.129, allocations: 26.16 kB / 1.268 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/1.13, allocations: 371.1 kB / 1.268 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.13, allocations: 0 / 1.268 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/1.13, allocations: 13.84 kB / 1.268 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/1.13, allocations: 7.219 kB / 1.268 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/1.13, allocations: 272.3 kB / 1.268 GB, free: 2.582 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/1.133, allocations: 1.491 MB / 1.27 GB, free: 17.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/1.133, allocations: 194.4 kB / 1.27 GB, free: 17.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/1.134, allocations: 114.3 kB / 1.27 GB, free: 17.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.135, allocations: 0.5049 MB / 1.27 GB, free: 17.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/1.135, allocations: 37.55 kB / 1.271 GB, free: 17.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.845e-06/1.135, allocations: 0 / 1.271 GB, free: 17.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001057/1.136, allocations: 360.4 kB / 1.271 GB, free: 17.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.136, allocations: 55.56 kB / 1.271 GB, free: 16.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/1.136, allocations: 315.3 kB / 1.271 GB, free: 16.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/1.136, allocations: 31.02 kB / 1.271 GB, free: 16.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.136, allocations: 185.1 kB / 1.271 GB, free: 16.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/1.136, allocations: 56.78 kB / 1.271 GB, free: 16.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/1.137, allocations: 42.62 kB / 1.272 GB, free: 16.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.137, allocations: 339.8 kB / 1.272 GB, free: 16.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/1.137, allocations: 85.38 kB / 1.272 GB, free: 16.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/1.137, allocations: 152 kB / 1.272 GB, free: 16.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/1.138, allocations: 240.7 kB / 1.272 GB, free: 16.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.138, allocations: 1.922 kB / 1.272 GB, free: 16.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007157/1.138, allocations: 289 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.138, allocations: 7.438 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.138, allocations: 2.562 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.139, allocations: 3.422 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.139, allocations: 41.55 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.139, allocations: 2.891 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/1.139, allocations: 30.52 kB / 1.273 GB, free: 16.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/1.139, allocations: 14.52 kB / 1.273 GB, free: 16.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001808/1.139, allocations: 148.6 kB / 1.273 GB, free: 16.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/1.139, allocations: 35.61 kB / 1.273 GB, free: 16.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000763/1.14, allocations: 314.3 kB / 1.273 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.14, allocations: 3.281 kB / 1.273 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.14, allocations: 0 / 1.273 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.14, allocations: 1.266 kB / 1.273 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/1.142, allocations: 0.813 MB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.142, allocations: 2.281 kB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/1.142, allocations: 36.33 kB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.142, allocations: 3.828 kB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.142, allocations: 8.469 kB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.142, allocations: 3.844 kB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/1.142, allocations: 9.375 kB / 1.274 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/1.143, allocations: 399.4 kB / 1.274 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/1.143, allocations: 136.3 kB / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/1.143, allocations: 5.094 kB / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/1.143, allocations: 16.08 kB / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/1.143, allocations: 20.19 kB / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/1.143, allocations: 11.27 kB / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003074/1.144, allocations: 224.1 kB / 1.275 GB, free: 15.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.002e-06/1.144, allocations: 1.469 kB / 1.275 GB, free: 15.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006958/1.144, allocations: 122.7 kB / 1.275 GB, free: 15.23 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.00155/1.146, allocations: 1.063 MB / 1.276 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005421/1.147, allocations: 220.2 kB / 1.276 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.147, allocations: 0 / 1.276 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/1.147, allocations: 119.5 kB / 1.276 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/1.148, allocations: 167.3 kB / 1.276 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/1.152, allocations: 3.047 MB / 1.279 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/1.152, allocations: 0.7838 MB / 1.28 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003322/1.153, allocations: 79.86 kB / 1.28 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/1.153, allocations: 101.6 kB / 1.28 GB, free: 12.2 MB / 1.029 GB Notification: Performance of SimCode: time 1.293e-06/1.153, allocations: 1.094 kB / 1.28 GB, free: 12.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/1.19, allocations: 10.51 MB / 1.291 GB, free: 11.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/9.188, allocations: 10.98 kB / 1.291 GB, free: 11.41 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches