Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_10_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.007432/0.007432, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001846/0.001846, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 71.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8274, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.176/1.003, allocations: 169.4 MB / 1.332 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008206/1.012, allocations: 7.141 MB / 1.339 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/1.012, allocations: 15.88 kB / 1.339 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005693/1.013, allocations: 166.7 kB / 1.339 GB, free: 2.312 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/1.016, allocations: 1.311 MB / 1.34 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/1.018, allocations: 0.6315 MB / 1.341 GB, free: 376 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001011/1.019, allocations: 0.7641 MB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/1.019, allocations: 290.5 kB / 1.342 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/1.021, allocations: 0.5915 MB / 1.342 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/1.021, allocations: 418.6 kB / 1.343 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/1.021, allocations: 28 kB / 1.343 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/1.024, allocations: 1.247 MB / 1.344 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/1.024, allocations: 123.7 kB / 1.344 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/1.024, allocations: 183 kB / 1.344 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/1.026, allocations: 0.9071 MB / 1.345 GB, free: 11.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.026, allocations: 0 / 1.345 GB, free: 11.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.465e-06/1.026, allocations: 0 / 1.345 GB, free: 11.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.725e-05/1.026, allocations: 0 / 1.345 GB, free: 11.83 MB / 1.076 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.001359/1.028, allocations: 0.7081 MB / 1.346 GB, free: 11.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.028, allocations: 16.92 kB / 1.346 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/1.028, allocations: 70.52 kB / 1.346 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.029, allocations: 131.6 kB / 1.346 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/1.03, allocations: 333.5 kB / 1.346 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.176e-05/1.03, allocations: 58.19 kB / 1.346 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/1.03, allocations: 24 kB / 1.346 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/1.031, allocations: 362.2 kB / 1.347 GB, free: 10.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.031, allocations: 4 kB / 1.347 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/1.031, allocations: 8 kB / 1.347 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/1.031, allocations: 12 kB / 1.347 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/1.031, allocations: 277.9 kB / 1.347 GB, free: 9.73 MB / 1.076 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.00196/1.033, allocations: 1.481 MB / 1.348 GB, free: 8.125 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/1.034, allocations: 210.4 kB / 1.349 GB, free: 7.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/1.034, allocations: 120.8 kB / 1.349 GB, free: 7.789 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009581/1.035, allocations: 0.5052 MB / 1.349 GB, free: 7.191 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/1.035, allocations: 30.56 kB / 1.349 GB, free: 7.152 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/1.035, allocations: 4 kB / 1.349 GB, free: 7.148 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0009453/1.036, allocations: 349.3 kB / 1.35 GB, free: 6.801 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.036, allocations: 67.27 kB / 1.35 GB, free: 6.723 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/1.036, allocations: 312.5 kB / 1.35 GB, free: 6.406 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/1.036, allocations: 29.7 kB / 1.35 GB, free: 6.371 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/1.036, allocations: 184.3 kB / 1.35 GB, free: 6.188 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/1.036, allocations: 51.53 kB / 1.35 GB, free: 6.137 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/1.036, allocations: 45.66 kB / 1.35 GB, free: 6.086 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.037, allocations: 350.7 kB / 1.351 GB, free: 5.734 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/1.037, allocations: 87.92 kB / 1.351 GB, free: 5.648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/1.037, allocations: 151.6 kB / 1.351 GB, free: 5.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/1.037, allocations: 235.2 kB / 1.351 GB, free: 5.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.037, allocations: 0 / 1.351 GB, free: 5.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005896/1.038, allocations: 290.2 kB / 1.351 GB, free: 4.941 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.038, allocations: 8 kB / 1.351 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.038, allocations: 0 / 1.351 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.038, allocations: 4.047 kB / 1.351 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/1.038, allocations: 39.95 kB / 1.351 GB, free: 4.891 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.038, allocations: 7.938 kB / 1.351 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.039, allocations: 36.02 kB / 1.351 GB, free: 4.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/1.039, allocations: 8 kB / 1.351 GB, free: 4.84 MB / 1.076 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.0001646/1.039, allocations: 161.6 kB / 1.352 GB, free: 4.672 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.039, allocations: 27.81 kB / 1.352 GB, free: 4.645 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/1.04, allocations: 313.8 kB / 1.352 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.04, allocations: 0 / 1.352 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.04, allocations: 4 kB / 1.352 GB, free: 4.328 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.04, allocations: 3.984 kB / 1.352 GB, free: 4.324 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.041, allocations: 0.8006 MB / 1.353 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/1.041, allocations: 3.984 kB / 1.353 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/1.041, allocations: 35.98 kB / 1.353 GB, free: 3.406 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.041, allocations: 7.938 kB / 1.353 GB, free: 3.398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/1.041, allocations: 4 kB / 1.353 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.041, allocations: 7.938 kB / 1.353 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.041, allocations: 4 kB / 1.353 GB, free: 3.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/1.042, allocations: 409.3 kB / 1.353 GB, free: 2.945 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/1.042, allocations: 136.9 kB / 1.353 GB, free: 2.793 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/1.042, allocations: 15.81 kB / 1.353 GB, free: 2.777 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/1.043, allocations: 15.98 kB / 1.353 GB, free: 2.762 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/1.043, allocations: 11.98 kB / 1.353 GB, free: 2.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.043, allocations: 15.98 kB / 1.353 GB, free: 2.734 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002366/1.043, allocations: 227 kB / 1.354 GB, free: 2.512 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.043, allocations: 4 kB / 1.354 GB, free: 2.508 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005555/1.043, allocations: 115.8 kB / 1.354 GB, free: 2.395 MB / 1.076 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.001371/1.045, allocations: 1.064 MB / 1.355 GB, free: 1.289 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005381/1.045, allocations: 223.7 kB / 1.355 GB, free: 1.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.045, allocations: 0 / 1.355 GB, free: 1.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/1.046, allocations: 111.8 kB / 1.355 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/1.047, allocations: 168.2 kB / 1.355 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/1.051, allocations: 3.04 MB / 1.358 GB, free: 13.61 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.051, allocations: 0.7912 MB / 1.359 GB, free: 12.79 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003044/1.051, allocations: 82.81 kB / 1.359 GB, free: 12.71 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/1.051, allocations: 99.34 kB / 1.359 GB, free: 12.61 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/1.052, allocations: 0 / 1.359 GB, free: 12.61 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/1.082, allocations: 10.52 MB / 1.369 GB, free: 2.266 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/9.189, allocations: 8.531 kB / 1.369 GB, free: 2.258 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches