Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_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.007231/0.007231, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001687/0.001687, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.31/1.31, 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 9.1.3-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.89 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6976, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1857/0.8833, allocations: 176 MB / 1.259 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009261/0.8926, allocations: 8.725 MB / 1.268 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.8933, allocations: 23.81 kB / 1.268 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.894, allocations: 301.8 kB / 1.268 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006853/0.8947, allocations: 318.4 kB / 1.268 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.8957, allocations: 373.8 kB / 1.269 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.8967, allocations: 1.156 MB / 1.27 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000741/0.8975, allocations: 0.5881 MB / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.9018, allocations: 2.125 MB / 1.273 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.9023, allocations: 358.4 kB / 1.273 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.9024, allocations: 40 kB / 1.273 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.9026, allocations: 79.95 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.9028, allocations: 255.3 kB / 1.273 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.9031, allocations: 286.5 kB / 1.274 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.9038, allocations: 0.6299 MB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9038, allocations: 4 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9038, allocations: 0 / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.9038, allocations: 4 kB / 1.274 GB, free: 14.52 MB / 1.014 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.001009/0.9048, allocations: 0.8411 MB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9049, allocations: 8.031 kB / 1.275 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.905, allocations: 94.52 kB / 1.275 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.9051, allocations: 75.52 kB / 1.275 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.9058, allocations: 446.5 kB / 1.276 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.9059, allocations: 45.3 kB / 1.276 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.906, allocations: 52 kB / 1.276 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.9069, allocations: 0.7104 MB / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.907, allocations: 0 / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.907, allocations: 27.94 kB / 1.276 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.9071, allocations: 31.92 kB / 1.276 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.9077, allocations: 371.4 kB / 1.277 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.9101, allocations: 3.224 MB / 1.28 GB, free: 8.285 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.9103, allocations: 218.1 kB / 1.28 GB, free: 7.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.9105, allocations: 128.5 kB / 1.28 GB, free: 7.824 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.9106, allocations: 8 kB / 1.28 GB, free: 7.816 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.9106, allocations: 43 kB / 1.28 GB, free: 7.766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.9106, allocations: 0 / 1.28 GB, free: 7.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006831/0.9113, allocations: 256.8 kB / 1.281 GB, free: 7.508 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.9114, allocations: 295.9 kB / 1.281 GB, free: 7.152 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.9121, allocations: 0.6878 MB / 1.282 GB, free: 6.453 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.9122, allocations: 33.64 kB / 1.282 GB, free: 6.414 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.9124, allocations: 264.3 kB / 1.282 GB, free: 6.152 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.9124, allocations: 35.69 kB / 1.282 GB, free: 6.117 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.9125, allocations: 33.7 kB / 1.282 GB, free: 6.078 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9126, allocations: 366.8 kB / 1.282 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.9127, allocations: 35.95 kB / 1.282 GB, free: 5.676 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.9129, allocations: 101 kB / 1.282 GB, free: 5.559 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.9132, allocations: 125 kB / 1.282 GB, free: 5.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9132, allocations: 336 / 1.282 GB, free: 5.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003382/0.9135, allocations: 189.3 kB / 1.283 GB, free: 5.227 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9135, allocations: 18.62 kB / 1.283 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9136, allocations: 3.938 kB / 1.283 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9136, allocations: 4 kB / 1.283 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.9138, allocations: 35.95 kB / 1.283 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9138, allocations: 7.938 kB / 1.283 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.914, allocations: 59.5 kB / 1.283 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.914, allocations: 8 kB / 1.283 GB, free: 5.094 MB / 1.014 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.0001853/0.9142, allocations: 213.7 kB / 1.283 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.9145, allocations: 63.56 kB / 1.283 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.9145, allocations: 56.33 kB / 1.283 GB, free: 4.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9146, allocations: 4 kB / 1.283 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.9146, allocations: 7.984 kB / 1.283 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9146, allocations: 0 / 1.283 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.9158, allocations: 1.304 MB / 1.284 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9159, allocations: 8.062 kB / 1.284 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.9161, allocations: 40.23 kB / 1.284 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9161, allocations: 4 kB / 1.284 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.9161, allocations: 8 kB / 1.284 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.9161, allocations: 7.938 kB / 1.284 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9161, allocations: 4 kB / 1.284 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.9165, allocations: 334.9 kB / 1.285 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.9167, allocations: 156.6 kB / 1.285 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.9167, allocations: 4.094 kB / 1.285 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.9169, allocations: 15.94 kB / 1.285 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.917, allocations: 15.86 kB / 1.285 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.917, allocations: 4 kB / 1.285 GB, free: 2.691 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004953/0.9175, allocations: 0.4951 MB / 1.285 GB, free: 2.203 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9175, allocations: 0 / 1.285 GB, free: 2.203 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003755/0.9179, allocations: 87.89 kB / 1.286 GB, free: 2.117 MB / 1.014 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.000773/0.9186, allocations: 0.9082 MB / 1.286 GB, free: 1.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.919, allocations: 107.8 kB / 1.287 GB, free: 1.055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.919, allocations: 4 kB / 1.287 GB, free: 1.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.9191, allocations: 56.83 kB / 1.287 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.9204, allocations: 282.6 kB / 1.287 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.9253, allocations: 4.467 MB / 1.291 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.9258, allocations: 0.9087 MB / 1.292 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.9261, allocations: 104.6 kB / 1.292 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.9263, allocations: 171.4 kB / 1.292 GB, free: 10.88 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.9263, allocations: 0 / 1.292 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.9578, allocations: 13.59 MB / 1.306 GB, free: 13.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.886, allocations: 7.844 kB / 1.306 GB, free: 13.52 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches