Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.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_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",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.00515/0.00515, allocations: 97.19 kB / 15.73 MB, free: 6.055 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.00148/0.00148, allocations: 192.9 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.666/2.666, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2718, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7014/0.9732, allocations: 176 MB / 1.338 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.9837, allocations: 8.699 MB / 1.347 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.9843, allocations: 20.16 kB / 1.347 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.9851, allocations: 298.3 kB / 1.347 GB, free: 6.781 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.9858, allocations: 313.6 kB / 1.347 GB, free: 6.598 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009212/0.9867, allocations: 373 kB / 1.347 GB, free: 6.418 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.9878, allocations: 1.151 MB / 1.349 GB, free: 5.918 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.9886, allocations: 0.588 MB / 1.349 GB, free: 5.668 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.9931, allocations: 2.059 MB / 1.351 GB, free: 4.711 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.9935, allocations: 352.1 kB / 1.352 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.924e-05/0.9936, allocations: 40.66 kB / 1.352 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.9938, allocations: 83.05 kB / 1.352 GB, free: 4.539 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.994, allocations: 261 kB / 1.352 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.9943, allocations: 285.8 kB / 1.352 GB, free: 4.277 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.995, allocations: 0.6388 MB / 1.353 GB, free: 4.016 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.995, allocations: 0 / 1.353 GB, free: 4.016 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.133e-06/0.9951, allocations: 1.188 kB / 1.353 GB, free: 4.016 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.9951, allocations: 0 / 1.353 GB, free: 4.016 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001067/0.9961, allocations: 0.8297 MB / 1.354 GB, free: 3.371 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.9962, allocations: 9.125 kB / 1.354 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.9963, allocations: 97.95 kB / 1.354 GB, free: 3.297 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.9964, allocations: 75.36 kB / 1.354 GB, free: 3.258 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.9971, allocations: 452 kB / 1.354 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.9971, allocations: 43.48 kB / 1.354 GB, free: 2.922 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.9972, allocations: 54.3 kB / 1.354 GB, free: 2.902 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.9983, allocations: 0.705 MB / 1.355 GB, free: 2.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.9983, allocations: 4.938 kB / 1.355 GB, free: 2.477 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.9983, allocations: 26.77 kB / 1.355 GB, free: 2.457 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/0.9984, allocations: 38.69 kB / 1.355 GB, free: 2.445 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.999, allocations: 376 kB / 1.355 GB, free: 2.328 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/1.002, allocations: 3.217 MB / 1.359 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/1.002, allocations: 220.6 kB / 1.359 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/1.002, allocations: 126.8 kB / 1.359 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/1.002, allocations: 3 kB / 1.359 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.002, allocations: 49.09 kB / 1.359 GB, free: 15.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/1.002, allocations: 0 / 1.359 GB, free: 15.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0007022/1.003, allocations: 253.6 kB / 1.359 GB, free: 15.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.003, allocations: 296.1 kB / 1.359 GB, free: 14.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/1.004, allocations: 0.6853 MB / 1.36 GB, free: 14.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.004, allocations: 27.89 kB / 1.36 GB, free: 14.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/1.004, allocations: 272.4 kB / 1.36 GB, free: 14.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/1.004, allocations: 35.25 kB / 1.36 GB, free: 14.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/1.004, allocations: 27.62 kB / 1.36 GB, free: 14.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.005, allocations: 372.3 kB / 1.361 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/1.005, allocations: 39.44 kB / 1.361 GB, free: 13.81 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.005, allocations: 94.27 kB / 1.361 GB, free: 13.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/1.005, allocations: 124.9 kB / 1.361 GB, free: 13.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.005, allocations: 1.188 kB / 1.361 GB, free: 13.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003555/1.006, allocations: 202.1 kB / 1.361 GB, free: 13.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.006, allocations: 8.453 kB / 1.361 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.006, allocations: 5.344 kB / 1.361 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.006, allocations: 1.406 kB / 1.361 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/1.006, allocations: 37.36 kB / 1.361 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.006, allocations: 7.312 kB / 1.361 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/1.006, allocations: 58.42 kB / 1.361 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/1.006, allocations: 8.922 kB / 1.361 GB, free: 13.53 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0002101/1.006, allocations: 198 kB / 1.362 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/1.007, allocations: 65.58 kB / 1.362 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/1.007, allocations: 63.78 kB / 1.362 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.007, allocations: 2.344 kB / 1.362 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.007, allocations: 3.75 kB / 1.362 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.007, allocations: 7.781 kB / 1.362 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.008, allocations: 1.294 MB / 1.363 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.008, allocations: 4.984 kB / 1.363 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/1.008, allocations: 43.3 kB / 1.363 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.008, allocations: 2.375 kB / 1.363 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.008, allocations: 11.7 kB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.008, allocations: 7.344 kB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.008, allocations: 3.25 kB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/1.009, allocations: 344.4 kB / 1.363 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/1.009, allocations: 151.9 kB / 1.364 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/1.009, allocations: 6.062 kB / 1.364 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.009, allocations: 7.438 kB / 1.364 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/1.009, allocations: 20.39 kB / 1.364 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.009, allocations: 4.719 kB / 1.364 GB, free: 11.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005499/1.01, allocations: 0.4951 MB / 1.364 GB, free: 11.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.01, allocations: 0 / 1.364 GB, free: 11.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003738/1.01, allocations: 85.36 kB / 1.364 GB, free: 11.55 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.0009561/1.011, allocations: 0.9134 MB / 1.365 GB, free: 10.74 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003115/1.012, allocations: 107.2 kB / 1.365 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.012, allocations: 1.719 kB / 1.365 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/1.012, allocations: 61.83 kB / 1.365 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.013, allocations: 288.2 kB / 1.365 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/1.018, allocations: 4.455 MB / 1.37 GB, free: 7.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/1.019, allocations: 0.9044 MB / 1.371 GB, free: 7.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002395/1.019, allocations: 99.34 kB / 1.371 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/1.019, allocations: 171.8 kB / 1.371 GB, free: 6.973 MB / 1.045 GB Notification: Performance of SimCode: time 3.5e-07/1.019, allocations: 4 kB / 1.371 GB, free: 6.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/1.055, allocations: 13.61 MB / 1.384 GB, free: 372 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.768/9.823, allocations: 13.08 kB / 1.384 GB, free: 364 kB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_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_h.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches