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.004611/0.004611, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001058/0.001058, allocations: 194.6 kB / 16.68 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.365/2.365, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6585, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.176/0.8345, allocations: 176 MB / 1.338 GB, free: 3.125 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009568/0.8441, allocations: 8.706 MB / 1.347 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.8447, allocations: 19.88 kB / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.8455, allocations: 301.8 kB / 1.347 GB, free: 10.08 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007408/0.8462, allocations: 322.4 kB / 1.347 GB, free: 9.762 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.8472, allocations: 386.6 kB / 1.348 GB, free: 9.387 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.8484, allocations: 1.152 MB / 1.349 GB, free: 8.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008592/0.8493, allocations: 0.5882 MB / 1.349 GB, free: 7.637 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.8535, allocations: 2.129 MB / 1.351 GB, free: 5.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.854, allocations: 358.4 kB / 1.352 GB, free: 5.148 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.8541, allocations: 40 kB / 1.352 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.8543, allocations: 83.95 kB / 1.352 GB, free: 5.027 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.8545, allocations: 251.4 kB / 1.352 GB, free: 4.781 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.8548, allocations: 290.4 kB / 1.352 GB, free: 4.496 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006693/0.8555, allocations: 0.6338 MB / 1.353 GB, free: 3.863 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8555, allocations: 0 / 1.353 GB, free: 3.863 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8555, allocations: 0 / 1.353 GB, free: 3.863 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.8556, allocations: 0 / 1.353 GB, free: 3.863 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009809/0.8565, allocations: 0.8451 MB / 1.354 GB, free: 2.965 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.8566, allocations: 8.922 kB / 1.354 GB, free: 2.957 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.8567, allocations: 94.52 kB / 1.354 GB, free: 2.855 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.8568, allocations: 71.52 kB / 1.354 GB, free: 2.785 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.8575, allocations: 450.4 kB / 1.354 GB, free: 2.305 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.8575, allocations: 41.3 kB / 1.354 GB, free: 2.266 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.8576, allocations: 48 kB / 1.354 GB, free: 2.219 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.8585, allocations: 0.7027 MB / 1.355 GB, free: 1.434 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.8586, allocations: 7.938 kB / 1.355 GB, free: 1.426 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.8586, allocations: 23.94 kB / 1.355 GB, free: 1.402 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.8587, allocations: 35.98 kB / 1.355 GB, free: 1.367 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.8593, allocations: 371.4 kB / 1.355 GB, free: 1.004 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.8618, allocations: 3.228 MB / 1.359 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.8621, allocations: 218.2 kB / 1.359 GB, free: 13.33 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.8623, allocations: 128.5 kB / 1.359 GB, free: 13.17 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.8623, allocations: 4 kB / 1.359 GB, free: 13.17 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.8623, allocations: 46.5 kB / 1.359 GB, free: 13.11 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.8623, allocations: 3.938 kB / 1.359 GB, free: 13.11 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0007445/0.8631, allocations: 257.7 kB / 1.359 GB, free: 12.85 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.8632, allocations: 290.7 kB / 1.36 GB, free: 12.5 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.864, allocations: 0.6839 MB / 1.36 GB, free: 11.81 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.864, allocations: 30.11 kB / 1.36 GB, free: 11.77 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8642, allocations: 272.2 kB / 1.361 GB, free: 11.5 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.8642, allocations: 31.73 kB / 1.361 GB, free: 11.47 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.8643, allocations: 33.7 kB / 1.361 GB, free: 11.43 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8645, allocations: 366.8 kB / 1.361 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.8646, allocations: 39.89 kB / 1.361 GB, free: 11.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.8648, allocations: 93.11 kB / 1.361 GB, free: 10.92 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.865, allocations: 129 kB / 1.361 GB, free: 10.77 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.865, allocations: 0 / 1.361 GB, free: 10.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003587/0.8654, allocations: 193.1 kB / 1.361 GB, free: 10.58 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8654, allocations: 7.938 kB / 1.361 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8654, allocations: 4 kB / 1.361 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8654, allocations: 192 / 1.361 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.8657, allocations: 47.89 kB / 1.361 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8657, allocations: 4 kB / 1.361 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.8659, allocations: 59.56 kB / 1.361 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.8659, allocations: 8 kB / 1.361 GB, free: 10.45 MB / 1.092 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.0002324/0.8662, allocations: 209.7 kB / 1.362 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.8664, allocations: 63.56 kB / 1.362 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.471e-05/0.8665, allocations: 64.31 kB / 1.362 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8665, allocations: 4 kB / 1.362 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.8666, allocations: 4 kB / 1.362 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8666, allocations: 7.922 kB / 1.362 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.8681, allocations: 1.297 MB / 1.363 GB, free: 8.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8681, allocations: 0 / 1.363 GB, free: 8.699 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.8683, allocations: 43.89 kB / 1.363 GB, free: 8.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.8683, allocations: 4.109 kB / 1.363 GB, free: 8.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8683, allocations: 12.22 kB / 1.363 GB, free: 8.641 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.8683, allocations: 8 kB / 1.363 GB, free: 8.633 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8683, allocations: 0 / 1.363 GB, free: 8.633 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.8687, allocations: 342.8 kB / 1.363 GB, free: 8.254 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.8689, allocations: 156.6 kB / 1.364 GB, free: 8.082 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.869, allocations: 4 kB / 1.364 GB, free: 8.078 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.8691, allocations: 16 kB / 1.364 GB, free: 8.062 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.8692, allocations: 11.92 kB / 1.364 GB, free: 8.051 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.8692, allocations: 4 kB / 1.364 GB, free: 8.047 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005245/0.8697, allocations: 0.4951 MB / 1.364 GB, free: 7.555 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8697, allocations: 0 / 1.364 GB, free: 7.555 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003734/0.8701, allocations: 83.89 kB / 1.364 GB, free: 7.473 MB / 1.092 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.00083/0.871, allocations: 0.9055 MB / 1.365 GB, free: 6.52 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.8713, allocations: 107.8 kB / 1.365 GB, free: 6.414 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8713, allocations: 0 / 1.365 GB, free: 6.414 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.8714, allocations: 63.83 kB / 1.365 GB, free: 6.352 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.8727, allocations: 284.7 kB / 1.366 GB, free: 6.078 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.8778, allocations: 4.463 MB / 1.37 GB, free: 1.457 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.8783, allocations: 0.905 MB / 1.371 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.8785, allocations: 104.6 kB / 1.371 GB, free: 428 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.8787, allocations: 171.4 kB / 1.371 GB, free: 260 kB / 1.092 GB Notification: Performance of SimCode: time 3.81e-07/0.8787, allocations: 0 / 1.371 GB, free: 260 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.9101, allocations: 13.6 MB / 1.384 GB, free: 2.879 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/9.057, allocations: 11.88 kB / 1.384 GB, free: 2.867 MB / 1.107 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