Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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.007606/0.007606, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.002041/0.002041, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2843, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7026/0.9869, allocations: 176 MB / 1.413 GB, free: 1.562 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.9975, allocations: 8.718 MB / 1.422 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.9981, allocations: 20.06 kB / 1.422 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007267/0.9988, allocations: 296.4 kB / 1.422 GB, free: 10.22 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.9995, allocations: 298.4 kB / 1.422 GB, free: 9.98 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/1, allocations: 372.2 kB / 1.423 GB, free: 9.699 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001153/1.002, allocations: 1.145 MB / 1.424 GB, free: 9.039 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/1.002, allocations: 0.5901 MB / 1.425 GB, free: 8.699 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/1.007, allocations: 2.053 MB / 1.427 GB, free: 7.309 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/1.007, allocations: 335.8 kB / 1.427 GB, free: 7.105 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/1.007, allocations: 39.75 kB / 1.427 GB, free: 7.105 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/1.007, allocations: 88.53 kB / 1.427 GB, free: 7.078 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/1.008, allocations: 253.2 kB / 1.427 GB, free: 6.926 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/1.008, allocations: 288.1 kB / 1.427 GB, free: 6.738 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007205/1.009, allocations: 0.6415 MB / 1.428 GB, free: 6.312 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.009, allocations: 0 / 1.428 GB, free: 6.312 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.223e-06/1.009, allocations: 0 / 1.428 GB, free: 6.312 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.009, allocations: 0 / 1.428 GB, free: 6.312 MB / 1.123 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.001064/1.01, allocations: 0.8342 MB / 1.429 GB, free: 5.602 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/1.01, allocations: 10.12 kB / 1.429 GB, free: 5.602 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/1.01, allocations: 102 kB / 1.429 GB, free: 5.512 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/1.01, allocations: 73.08 kB / 1.429 GB, free: 5.473 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/1.011, allocations: 453.4 kB / 1.43 GB, free: 5.09 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/1.011, allocations: 38.66 kB / 1.43 GB, free: 5.074 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/1.011, allocations: 52.48 kB / 1.43 GB, free: 5.059 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/1.012, allocations: 0.7026 MB / 1.43 GB, free: 4.527 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.012, allocations: 7.531 kB / 1.43 GB, free: 4.523 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/1.012, allocations: 20.92 kB / 1.43 GB, free: 4.508 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/1.012, allocations: 39.48 kB / 1.43 GB, free: 4.492 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/1.013, allocations: 375.5 kB / 1.431 GB, free: 4.316 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/1.015, allocations: 3.217 MB / 1.434 GB, free: 1.344 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/1.016, allocations: 216.9 kB / 1.434 GB, free: 1.07 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/1.016, allocations: 131.1 kB / 1.434 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/1.016, allocations: 2.375 kB / 1.434 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/1.016, allocations: 47.72 kB / 1.434 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/1.016, allocations: 0 / 1.434 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0006786/1.017, allocations: 258.2 kB / 1.434 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/1.017, allocations: 294.6 kB / 1.435 GB, free: 412 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/1.017, allocations: 0.6783 MB / 1.435 GB, free: 24 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/1.018, allocations: 31.92 kB / 1.435 GB, free: 15.99 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/1.018, allocations: 271.5 kB / 1.436 GB, free: 15.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/1.018, allocations: 33.14 kB / 1.436 GB, free: 15.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/1.018, allocations: 36.8 kB / 1.436 GB, free: 15.69 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.018, allocations: 371.3 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/1.018, allocations: 36.27 kB / 1.436 GB, free: 15.32 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/1.018, allocations: 88.77 kB / 1.436 GB, free: 15.25 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/1.019, allocations: 131.6 kB / 1.436 GB, free: 15.15 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.019, allocations: 5.219 kB / 1.436 GB, free: 15.15 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003633/1.019, allocations: 188.5 kB / 1.437 GB, free: 15.04 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.019, allocations: 5.562 kB / 1.437 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.019, allocations: 6.188 kB / 1.437 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.019, allocations: 2.188 kB / 1.437 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/1.019, allocations: 50.86 kB / 1.437 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/1.019, allocations: 1.406 kB / 1.437 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/1.02, allocations: 60.64 kB / 1.437 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/1.02, allocations: 6.688 kB / 1.437 GB, free: 14.97 MB / 1.139 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.0002055/1.02, allocations: 202.3 kB / 1.437 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/1.02, allocations: 60.38 kB / 1.437 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.551e-05/1.02, allocations: 65.38 kB / 1.437 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.02, allocations: 3.312 kB / 1.437 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.02, allocations: 12.31 kB / 1.437 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.02, allocations: 1.469 kB / 1.437 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.022, allocations: 1.306 MB / 1.438 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.022, allocations: 0 / 1.438 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/1.022, allocations: 47.89 kB / 1.438 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/1.022, allocations: 4 kB / 1.438 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/1.022, allocations: 5.562 kB / 1.438 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.022, allocations: 288 / 1.438 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.022, allocations: 8 kB / 1.438 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/1.022, allocations: 346.6 kB / 1.439 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/1.022, allocations: 149 kB / 1.439 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/1.023, allocations: 4 kB / 1.439 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/1.023, allocations: 11.98 kB / 1.439 GB, free: 12.87 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.023, allocations: 19.88 kB / 1.439 GB, free: 12.85 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/1.023, allocations: 4 kB / 1.439 GB, free: 12.84 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005841/1.023, allocations: 0.4951 MB / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.023, allocations: 0 / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003851/1.024, allocations: 91.81 kB / 1.439 GB, free: 12.26 MB / 1.139 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.000926/1.025, allocations: 0.9005 MB / 1.44 GB, free: 11.31 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003424/1.025, allocations: 112 kB / 1.44 GB, free: 11.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.025, allocations: 0 / 1.44 GB, free: 11.2 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/1.025, allocations: 59.83 kB / 1.44 GB, free: 11.14 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.027, allocations: 293 kB / 1.441 GB, free: 10.87 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/1.032, allocations: 4.451 MB / 1.445 GB, free: 6.258 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/1.033, allocations: 0.9088 MB / 1.446 GB, free: 5.324 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000244/1.033, allocations: 104.6 kB / 1.446 GB, free: 5.219 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/1.033, allocations: 175.4 kB / 1.446 GB, free: 5.051 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/1.033, allocations: 0 / 1.446 GB, free: 5.051 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/1.07, allocations: 13.6 MB / 1.46 GB, free: 7.676 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/9.592, allocations: 7.938 kB / 1.46 GB, free: 7.668 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches