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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00164/0.00164, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.7421 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 72.11 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2658, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7024/0.9682, allocations: 176 MB / 1.392 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009698/0.9779, allocations: 8.714 MB / 1.4 GB, free: 5.16 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.9786, allocations: 20.5 kB / 1.4 GB, free: 5.152 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.9793, allocations: 303.6 kB / 1.4 GB, free: 4.887 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0007838/0.9802, allocations: 316.3 kB / 1.401 GB, free: 4.637 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009958/0.9812, allocations: 386.8 kB / 1.401 GB, free: 4.344 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.9825, allocations: 1.151 MB / 1.402 GB, free: 3.684 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008574/0.9834, allocations: 0.586 MB / 1.403 GB, free: 3.348 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.9877, allocations: 2.13 MB / 1.405 GB, free: 1.91 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.9882, allocations: 354.5 kB / 1.405 GB, free: 1.695 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.9883, allocations: 39.41 kB / 1.405 GB, free: 1.695 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.9885, allocations: 80.27 kB / 1.405 GB, free: 1.676 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.9888, allocations: 260.6 kB / 1.406 GB, free: 1.516 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.9891, allocations: 280.9 kB / 1.406 GB, free: 1.336 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.9899, allocations: 0.633 MB / 1.406 GB, free: 0.918 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.9899, allocations: 3.938 kB / 1.406 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9899, allocations: 0.9062 kB / 1.406 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.9899, allocations: 0 / 1.406 GB, free: 0.9141 MB / 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.001143/0.9911, allocations: 0.8461 MB / 1.407 GB, free: 196 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.9911, allocations: 9.406 kB / 1.407 GB, free: 196 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.9912, allocations: 94.17 kB / 1.407 GB, free: 112 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.9914, allocations: 73.11 kB / 1.407 GB, free: 72 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.9921, allocations: 444.7 kB / 1.408 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.9922, allocations: 43.64 kB / 1.408 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.9922, allocations: 51.91 kB / 1.408 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.9933, allocations: 0.7069 MB / 1.409 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.9933, allocations: 6.031 kB / 1.409 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.9934, allocations: 19.28 kB / 1.409 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.9934, allocations: 39.02 kB / 1.409 GB, free: 15.1 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.9941, allocations: 374 kB / 1.409 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.9966, allocations: 3.222 MB / 1.412 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.9969, allocations: 217.5 kB / 1.412 GB, free: 11.67 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.9971, allocations: 131.2 kB / 1.413 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.9971, allocations: 6.469 kB / 1.413 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.9971, allocations: 42.72 kB / 1.413 GB, free: 11.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.9971, allocations: 1.344 kB / 1.413 GB, free: 11.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007048/0.9978, allocations: 257.2 kB / 1.413 GB, free: 11.36 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.998, allocations: 294.4 kB / 1.413 GB, free: 11 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007436/0.9987, allocations: 0.6787 MB / 1.414 GB, free: 10.63 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.9988, allocations: 35.8 kB / 1.414 GB, free: 10.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.999, allocations: 268.2 kB / 1.414 GB, free: 10.36 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.999, allocations: 32.42 kB / 1.414 GB, free: 10.33 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.9991, allocations: 37.19 kB / 1.414 GB, free: 10.3 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9992, allocations: 366.3 kB / 1.414 GB, free: 9.945 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.9993, allocations: 35.7 kB / 1.415 GB, free: 9.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.9995, allocations: 99.47 kB / 1.415 GB, free: 9.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.9998, allocations: 128.2 kB / 1.415 GB, free: 9.758 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9998, allocations: 0 / 1.415 GB, free: 9.758 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003623/1, allocations: 192.6 kB / 1.415 GB, free: 9.645 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1, allocations: 6.594 kB / 1.415 GB, free: 9.645 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1, allocations: 9.438 kB / 1.415 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1, allocations: 6.922 kB / 1.415 GB, free: 9.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1, allocations: 40.84 kB / 1.415 GB, free: 9.621 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1, allocations: 9.312 kB / 1.415 GB, free: 9.613 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.001, allocations: 55.94 kB / 1.415 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/1.001, allocations: 11.48 kB / 1.415 GB, free: 9.57 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.000194/1.001, allocations: 197.7 kB / 1.415 GB, free: 9.41 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/1.001, allocations: 64.84 kB / 1.415 GB, free: 9.375 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/1.001, allocations: 66.28 kB / 1.415 GB, free: 9.332 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.001, allocations: 3.469 kB / 1.415 GB, free: 9.332 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.001, allocations: 1.406 kB / 1.415 GB, free: 9.332 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.001, allocations: 6.859 kB / 1.415 GB, free: 9.328 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/1.003, allocations: 1.302 MB / 1.417 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.003, allocations: 2.062 kB / 1.417 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.003, allocations: 45.08 kB / 1.417 GB, free: 8.098 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.003, allocations: 6.562 kB / 1.417 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.003, allocations: 3.781 kB / 1.417 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.003, allocations: 2.188 kB / 1.417 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.003, allocations: 6.469 kB / 1.417 GB, free: 8.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/1.003, allocations: 344.8 kB / 1.417 GB, free: 7.793 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/1.003, allocations: 148 kB / 1.417 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/1.003, allocations: 2.969 kB / 1.417 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/1.004, allocations: 18.23 kB / 1.417 GB, free: 7.641 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/1.004, allocations: 13 kB / 1.417 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/1.004, allocations: 5.375 kB / 1.417 GB, free: 7.633 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004923/1.004, allocations: 0.4937 MB / 1.418 GB, free: 7.352 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.3e-07/1.004, allocations: 0 / 1.418 GB, free: 7.352 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003828/1.005, allocations: 93.31 kB / 1.418 GB, free: 7.332 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.0007807/1.005, allocations: 0.904 MB / 1.419 GB, free: 6.496 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002971/1.006, allocations: 109.3 kB / 1.419 GB, free: 6.445 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.006, allocations: 0 / 1.419 GB, free: 6.445 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/1.006, allocations: 58.08 kB / 1.419 GB, free: 6.422 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.007, allocations: 293.1 kB / 1.419 GB, free: 6.277 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/1.012, allocations: 4.467 MB / 1.423 GB, free: 3.379 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/1.012, allocations: 0.9039 MB / 1.424 GB, free: 2.574 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002279/1.013, allocations: 103.1 kB / 1.424 GB, free: 2.531 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/1.013, allocations: 175.1 kB / 1.425 GB, free: 2.387 MB / 1.107 GB Notification: Performance of SimCode: time 2.71e-07/1.013, allocations: 0 / 1.425 GB, free: 2.387 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/1.042, allocations: 13.61 MB / 1.438 GB, free: 6.008 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.221, allocations: 0 / 1.438 GB, free: 6.008 MB / 1.123 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 50 --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