Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_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.004527/0.004527, allocations: 99.48 kB / 15.73 MB, free: 6.012 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.001318/0.001318, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 68.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6979/0.967, allocations: 176 MB / 1.392 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.978, allocations: 8.713 MB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.9787, allocations: 20.31 kB / 1.401 GB, free: 4.656 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007976/0.9796, allocations: 299.9 kB / 1.401 GB, free: 4.395 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0008947/0.9805, allocations: 310.4 kB / 1.401 GB, free: 4.145 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.9816, allocations: 376.8 kB / 1.401 GB, free: 3.859 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.9831, allocations: 1.153 MB / 1.403 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009449/0.984, allocations: 0.5864 MB / 1.403 GB, free: 2.859 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.9887, allocations: 2.063 MB / 1.405 GB, free: 1.461 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.9893, allocations: 350.3 kB / 1.406 GB, free: 1.25 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.9894, allocations: 39.31 kB / 1.406 GB, free: 1.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.9897, allocations: 83.78 kB / 1.406 GB, free: 1.227 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.99, allocations: 257.4 kB / 1.406 GB, free: 1.07 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.9904, allocations: 280.5 kB / 1.406 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.9912, allocations: 0.6452 MB / 1.407 GB, free: 472 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.9912, allocations: 0 / 1.407 GB, free: 472 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9912, allocations: 0 / 1.407 GB, free: 472 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.9912, allocations: 1.156 kB / 1.407 GB, free: 472 kB / 1.092 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.001264/0.9925, allocations: 0.83 MB / 1.408 GB, free: 15.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.9925, allocations: 9.312 kB / 1.408 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.9927, allocations: 98.22 kB / 1.408 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.9928, allocations: 76.23 kB / 1.408 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.9936, allocations: 445.6 kB / 1.408 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.9936, allocations: 39.41 kB / 1.408 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.9937, allocations: 59.58 kB / 1.408 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.9949, allocations: 0.7025 MB / 1.409 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.9949, allocations: 2.562 kB / 1.409 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.995, allocations: 26.52 kB / 1.409 GB, free: 14.66 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.995, allocations: 37.58 kB / 1.409 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.9957, allocations: 376.2 kB / 1.409 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.9987, allocations: 3.215 MB / 1.413 GB, free: 11.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.999, allocations: 221.1 kB / 1.413 GB, free: 11.22 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.9992, allocations: 127.2 kB / 1.413 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.9993, allocations: 6.75 kB / 1.413 GB, free: 11.1 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.9993, allocations: 50.58 kB / 1.413 GB, free: 11.05 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.9993, allocations: 0 / 1.413 GB, free: 11.05 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007609/1, allocations: 249.8 kB / 1.413 GB, free: 10.91 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/1, allocations: 294.8 kB / 1.413 GB, free: 10.55 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/1.001, allocations: 0.6865 MB / 1.414 GB, free: 10.17 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/1.001, allocations: 26.98 kB / 1.414 GB, free: 10.14 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/1.001, allocations: 273.3 kB / 1.414 GB, free: 9.898 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/1.001, allocations: 32.11 kB / 1.414 GB, free: 9.871 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/1.001, allocations: 33.75 kB / 1.414 GB, free: 9.844 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.002, allocations: 369.5 kB / 1.415 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.002, allocations: 40.31 kB / 1.415 GB, free: 9.469 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/1.002, allocations: 94.36 kB / 1.415 GB, free: 9.395 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/1.002, allocations: 130.6 kB / 1.415 GB, free: 9.297 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.002, allocations: 1.5 kB / 1.415 GB, free: 9.297 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003949/1.003, allocations: 198.2 kB / 1.415 GB, free: 9.18 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.003, allocations: 5.656 kB / 1.415 GB, free: 9.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.003, allocations: 5.375 kB / 1.415 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.003, allocations: 1.25 kB / 1.415 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/1.003, allocations: 39.36 kB / 1.415 GB, free: 9.164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/1.003, allocations: 1.844 kB / 1.415 GB, free: 9.164 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/1.003, allocations: 60.52 kB / 1.415 GB, free: 9.121 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/1.003, allocations: 11.17 kB / 1.415 GB, free: 9.117 MB / 1.107 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.0002129/1.003, allocations: 198 kB / 1.416 GB, free: 8.957 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.004, allocations: 64.78 kB / 1.416 GB, free: 8.922 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/1.004, allocations: 66.62 kB / 1.416 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.004, allocations: 2.281 kB / 1.416 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.004, allocations: 3.25 kB / 1.416 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.004, allocations: 1.969 kB / 1.416 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/1.005, allocations: 1.3 MB / 1.417 GB, free: 7.668 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.005, allocations: 3.609 kB / 1.417 GB, free: 7.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.006, allocations: 46.98 kB / 1.417 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.006, allocations: 3.219 kB / 1.417 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.006, allocations: 7.312 kB / 1.417 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.006, allocations: 3.031 kB / 1.417 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.006, allocations: 2.875 kB / 1.417 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/1.006, allocations: 350.2 kB / 1.417 GB, free: 7.34 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/1.006, allocations: 152.9 kB / 1.418 GB, free: 7.195 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/1.006, allocations: 5.125 kB / 1.418 GB, free: 7.195 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/1.006, allocations: 9.703 kB / 1.418 GB, free: 7.191 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/1.006, allocations: 16.77 kB / 1.418 GB, free: 7.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/1.007, allocations: 5.219 kB / 1.418 GB, free: 7.18 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005398/1.007, allocations: 0.498 MB / 1.418 GB, free: 6.895 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.007, allocations: 0 / 1.418 GB, free: 6.895 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003832/1.007, allocations: 89.58 kB / 1.418 GB, free: 6.879 MB / 1.107 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.0009143/1.008, allocations: 0.9053 MB / 1.419 GB, free: 6.039 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003131/1.009, allocations: 111.9 kB / 1.419 GB, free: 5.988 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.009, allocations: 0 / 1.419 GB, free: 5.988 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/1.009, allocations: 62.06 kB / 1.419 GB, free: 5.961 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/1.01, allocations: 288.9 kB / 1.419 GB, free: 5.824 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/1.016, allocations: 4.458 MB / 1.424 GB, free: 2.934 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/1.016, allocations: 0.9068 MB / 1.425 GB, free: 2.133 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002516/1.016, allocations: 107.4 kB / 1.425 GB, free: 2.086 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.017, allocations: 167 kB / 1.425 GB, free: 1.949 MB / 1.107 GB Notification: Performance of SimCode: time 2.2e-07/1.017, allocations: 0 / 1.425 GB, free: 1.949 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/1.054, allocations: 13.59 MB / 1.438 GB, free: 5.57 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/9.516, allocations: 10.69 kB / 1.438 GB, free: 5.562 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches