Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_T",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.00444/0.00444, allocations: 96.16 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.001053/0.001053, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.549/2.549, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2368, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.6875/0.9244, allocations: 194.1 MB / 1.356 GB, free: 172 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.9357, allocations: 10.04 MB / 1.366 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008557/0.9366, allocations: 33.62 kB / 1.366 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.9375, allocations: 393 kB / 1.366 GB, free: 8.668 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.9401, allocations: 1.072 MB / 1.367 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.943, allocations: 1.32 MB / 1.368 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.9449, allocations: 1.699 MB / 1.37 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.9459, allocations: 0.8428 MB / 1.371 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.9489, allocations: 1.46 MB / 1.372 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.9495, allocations: 0.5283 MB / 1.373 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.9496, allocations: 62.28 kB / 1.373 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.952, allocations: 1.417 MB / 1.374 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.9523, allocations: 347.5 kB / 1.374 GB, free: 4.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.9527, allocations: 433 kB / 1.375 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.9546, allocations: 1.518 MB / 1.376 GB, free: 2.816 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9546, allocations: 0 / 1.376 GB, free: 2.816 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9546, allocations: 0 / 1.376 GB, free: 2.816 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9546, allocations: 0 / 1.376 GB, free: 2.816 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001493/0.9561, allocations: 1.164 MB / 1.378 GB, free: 1.883 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.9562, allocations: 9.625 kB / 1.378 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.9563, allocations: 134 kB / 1.378 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.958, allocations: 301.2 kB / 1.378 GB, free: 1.629 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.959, allocations: 0.5731 MB / 1.378 GB, free: 1.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.959, allocations: 53.78 kB / 1.379 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.9591, allocations: 76.7 kB / 1.379 GB, free: 1.109 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.9604, allocations: 0.8966 MB / 1.379 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.9604, allocations: 5.312 kB / 1.379 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/0.9605, allocations: 38.84 kB / 1.38 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.9606, allocations: 44.92 kB / 1.38 GB, free: 480 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.9615, allocations: 0.5756 MB / 1.38 GB, free: 200 kB / 1.045 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.003208/0.9647, allocations: 3.489 MB / 1.384 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.965, allocations: 222 kB / 1.384 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.9653, allocations: 144.5 kB / 1.384 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/0.966, allocations: 487.8 kB / 1.384 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.966, allocations: 41.16 kB / 1.384 GB, free: 12.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.966, allocations: 0 / 1.384 GB, free: 12.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.001096/0.9671, allocations: 460.5 kB / 1.385 GB, free: 12.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.9672, allocations: 110.2 kB / 1.385 GB, free: 12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.9681, allocations: 0.866 MB / 1.386 GB, free: 11.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.9681, allocations: 32.61 kB / 1.386 GB, free: 11.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.9684, allocations: 381.7 kB / 1.386 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.9685, allocations: 76.88 kB / 1.386 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.9686, allocations: 59.42 kB / 1.386 GB, free: 11.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.9687, allocations: 320.7 kB / 1.387 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.9689, allocations: 106.7 kB / 1.387 GB, free: 10.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.9692, allocations: 213.3 kB / 1.387 GB, free: 10.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.9696, allocations: 311.5 kB / 1.387 GB, free: 10.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9696, allocations: 0 / 1.387 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006305/0.9703, allocations: 414.5 kB / 1.388 GB, free: 10.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9703, allocations: 5.281 kB / 1.388 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9703, allocations: 2.469 kB / 1.388 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9703, allocations: 5.094 kB / 1.388 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.9706, allocations: 71.22 kB / 1.388 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.9706, allocations: 6.781 kB / 1.388 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.9711, allocations: 88.36 kB / 1.388 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.9711, allocations: 12.28 kB / 1.388 GB, free: 9.988 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002249/0.9713, allocations: 229.3 kB / 1.388 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.9715, allocations: 81.05 kB / 1.388 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.9721, allocations: 325.7 kB / 1.388 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9721, allocations: 6.844 kB / 1.388 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9721, allocations: 2.75 kB / 1.388 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9721, allocations: 0 / 1.388 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.9739, allocations: 1.37 MB / 1.39 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.9739, allocations: 4.812 kB / 1.39 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.9741, allocations: 45.06 kB / 1.39 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.9741, allocations: 4.75 kB / 1.39 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.9742, allocations: 15.41 kB / 1.39 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.9742, allocations: 8.781 kB / 1.39 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9742, allocations: 5.719 kB / 1.39 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.9748, allocations: 0.5152 MB / 1.39 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.975, allocations: 190 kB / 1.391 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/0.9751, allocations: 11.86 kB / 1.391 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.9754, allocations: 16.38 kB / 1.391 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.9755, allocations: 32.19 kB / 1.391 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.9755, allocations: 11.47 kB / 1.391 GB, free: 7.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00066/0.9762, allocations: 0.6156 MB / 1.391 GB, free: 7.484 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9762, allocations: 0 / 1.391 GB, free: 7.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005394/0.9767, allocations: 159.4 kB / 1.391 GB, free: 7.461 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001067/0.9778, allocations: 1.157 MB / 1.392 GB, free: 6.449 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.9783, allocations: 264.1 kB / 1.393 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9783, allocations: 4.062 kB / 1.393 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.9786, allocations: 130.1 kB / 1.393 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.9804, allocations: 416.4 kB / 1.393 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/0.9869, allocations: 6.008 MB / 1.399 GB, free: 2.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.9874, allocations: 0.9873 MB / 1.4 GB, free: 1.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004415/0.9878, allocations: 161 kB / 1.4 GB, free: 1.266 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.9881, allocations: 271 kB / 1.4 GB, free: 1.039 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.9881, allocations: 0 / 1.4 GB, free: 1.039 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/1.029, allocations: 20.77 MB / 1.421 GB, free: 15.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.691, allocations: 11.94 kB / 1.421 GB, free: 15.24 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches