Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_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.00132/0.00132, allocations: 112.5 kB / 15.73 MB, free: 76 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.001331/0.001331, allocations: 188.4 kB / 16.67 MB, free: 6.582 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7583/1.054, allocations: 169.4 MB / 1.386 GB, free: 1.102 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008998/1.063, allocations: 7.129 MB / 1.393 GB, free: 11.33 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/1.063, allocations: 16.53 kB / 1.393 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/1.064, allocations: 181.5 kB / 1.393 GB, free: 11.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003156/1.067, allocations: 1.252 MB / 1.394 GB, free: 10.23 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/1.069, allocations: 0.6275 MB / 1.395 GB, free: 9.777 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009768/1.07, allocations: 0.7587 MB / 1.395 GB, free: 9.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/1.07, allocations: 298.1 kB / 1.396 GB, free: 9.16 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/1.071, allocations: 0.5742 MB / 1.396 GB, free: 8.801 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/1.072, allocations: 428.3 kB / 1.397 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/1.072, allocations: 26.97 kB / 1.397 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/1.074, allocations: 1.236 MB / 1.398 GB, free: 7.863 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/1.075, allocations: 123.2 kB / 1.398 GB, free: 7.777 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/1.075, allocations: 179.4 kB / 1.398 GB, free: 7.664 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/1.076, allocations: 0.9054 MB / 1.399 GB, free: 7.117 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.076, allocations: 0 / 1.399 GB, free: 7.117 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.503e-06/1.076, allocations: 0 / 1.399 GB, free: 7.117 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.565e-06/1.076, allocations: 1.219 kB / 1.399 GB, free: 7.117 MB / 1.092 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.001065/1.077, allocations: 0.7091 MB / 1.4 GB, free: 6.492 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.077, allocations: 8.812 kB / 1.4 GB, free: 6.492 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.112e-05/1.078, allocations: 68.66 kB / 1.4 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009941/1.079, allocations: 129 kB / 1.4 GB, free: 6.363 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/1.079, allocations: 337.9 kB / 1.4 GB, free: 6.051 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/1.079, allocations: 51.8 kB / 1.4 GB, free: 6.008 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/1.079, allocations: 29.72 kB / 1.4 GB, free: 5.996 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/1.08, allocations: 369.9 kB / 1.401 GB, free: 5.758 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.08, allocations: 0 / 1.401 GB, free: 5.758 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.08, allocations: 10.78 kB / 1.401 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/1.08, allocations: 7.094 kB / 1.401 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/1.081, allocations: 279.7 kB / 1.401 GB, free: 5.613 MB / 1.092 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.001913/1.083, allocations: 1.494 MB / 1.402 GB, free: 4.254 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/1.083, allocations: 193.8 kB / 1.403 GB, free: 4.148 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/1.083, allocations: 124.5 kB / 1.403 GB, free: 4.082 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000982/1.084, allocations: 0.5028 MB / 1.403 GB, free: 3.562 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.084, allocations: 32.53 kB / 1.403 GB, free: 3.523 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/1.084, allocations: 0 / 1.403 GB, free: 3.523 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.0009675/1.085, allocations: 359.9 kB / 1.404 GB, free: 3.34 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.085, allocations: 57.69 kB / 1.404 GB, free: 3.273 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/1.086, allocations: 316.2 kB / 1.404 GB, free: 3.066 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/1.086, allocations: 30.83 kB / 1.404 GB, free: 3.031 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/1.086, allocations: 185.5 kB / 1.404 GB, free: 2.863 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/1.086, allocations: 58.05 kB / 1.404 GB, free: 2.812 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/1.086, allocations: 43.58 kB / 1.404 GB, free: 2.781 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.086, allocations: 337.6 kB / 1.405 GB, free: 2.449 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/1.086, allocations: 89.05 kB / 1.405 GB, free: 2.406 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/1.087, allocations: 146.9 kB / 1.405 GB, free: 2.301 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/1.087, allocations: 243.1 kB / 1.405 GB, free: 2.141 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.087, allocations: 1.75 kB / 1.405 GB, free: 2.141 MB / 1.092 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000619/1.088, allocations: 283.1 kB / 1.405 GB, free: 1.988 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.088, allocations: 5.688 kB / 1.405 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.088, allocations: 1.438 kB / 1.405 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.088, allocations: 2.781 kB / 1.405 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.088, allocations: 43.55 kB / 1.405 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.088, allocations: 4.625 kB / 1.405 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/1.088, allocations: 25.67 kB / 1.405 GB, free: 1.961 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/1.088, allocations: 20.7 kB / 1.405 GB, free: 1.949 MB / 1.092 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.0001674/1.088, allocations: 156.4 kB / 1.406 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.089, allocations: 31.03 kB / 1.406 GB, free: 1.789 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/1.089, allocations: 305.8 kB / 1.406 GB, free: 1.609 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.089, allocations: 2.219 kB / 1.406 GB, free: 1.609 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.089, allocations: 0 / 1.406 GB, free: 1.609 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.089, allocations: 4 kB / 1.406 GB, free: 1.605 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/1.091, allocations: 0.8107 MB / 1.407 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.091, allocations: 3.219 kB / 1.407 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/1.091, allocations: 41.97 kB / 1.407 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.091, allocations: 2.531 kB / 1.407 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/1.091, allocations: 12.62 kB / 1.407 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.091, allocations: 3.625 kB / 1.407 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.091, allocations: 2.438 kB / 1.407 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/1.092, allocations: 398.9 kB / 1.407 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/1.092, allocations: 143.7 kB / 1.407 GB, free: 496 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/1.092, allocations: 7.375 kB / 1.407 GB, free: 492 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/1.092, allocations: 16.08 kB / 1.407 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/1.092, allocations: 14.86 kB / 1.407 GB, free: 476 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.092, allocations: 13.69 kB / 1.407 GB, free: 472 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002286/1.092, allocations: 226.6 kB / 1.408 GB, free: 320 kB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.092, allocations: 1.188 kB / 1.408 GB, free: 320 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005211/1.093, allocations: 127.7 kB / 1.408 GB, free: 284 kB / 1.092 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.00143/1.094, allocations: 1.067 MB / 1.409 GB, free: 15.37 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005028/1.095, allocations: 223.3 kB / 1.409 GB, free: 15.27 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.095, allocations: 0 / 1.409 GB, free: 15.27 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/1.095, allocations: 119.2 kB / 1.409 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/1.096, allocations: 161.1 kB / 1.409 GB, free: 15.14 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/1.1, allocations: 3.049 MB / 1.412 GB, free: 12.88 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/1.101, allocations: 0.7862 MB / 1.413 GB, free: 12.14 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002822/1.101, allocations: 93.45 kB / 1.413 GB, free: 12.09 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.101, allocations: 100 kB / 1.413 GB, free: 12.01 MB / 1.107 GB Notification: Performance of SimCode: time 4.21e-07/1.101, allocations: 0 / 1.413 GB, free: 12.01 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/1.134, allocations: 10.52 MB / 1.423 GB, free: 5.043 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/9.535, allocations: 14.23 kB / 1.423 GB, free: 5.031 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches