Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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.007357/0.007357, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.00177/0.00177, allocations: 188.5 kB / 16.67 MB, free: 5.926 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.486/2.486, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.12 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.6442, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1799/0.8241, allocations: 194.1 MB / 1.409 GB, free: 15.44 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.8348, allocations: 10.05 MB / 1.419 GB, free: 5.367 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.8353, allocations: 27.81 kB / 1.419 GB, free: 5.34 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008195/0.8361, allocations: 393 kB / 1.42 GB, free: 4.953 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.8383, allocations: 1.077 MB / 1.421 GB, free: 3.871 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.8408, allocations: 1.319 MB / 1.422 GB, free: 2.551 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.8423, allocations: 1.694 MB / 1.424 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.8433, allocations: 0.85 MB / 1.424 GB, free: 15.97 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.8456, allocations: 1.452 MB / 1.426 GB, free: 14.52 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.8462, allocations: 0.5367 MB / 1.426 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.8463, allocations: 60 kB / 1.426 GB, free: 13.92 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.8482, allocations: 1.407 MB / 1.428 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.8485, allocations: 351.1 kB / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.8489, allocations: 437.8 kB / 1.428 GB, free: 11.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.8506, allocations: 1.511 MB / 1.43 GB, free: 10.22 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.8506, allocations: 0 / 1.43 GB, free: 10.22 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8506, allocations: 0 / 1.43 GB, free: 10.22 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8506, allocations: 0 / 1.43 GB, free: 10.22 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001386/0.852, allocations: 1.171 MB / 1.431 GB, free: 8.996 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.8521, allocations: 12.62 kB / 1.431 GB, free: 8.984 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.8522, allocations: 122.6 kB / 1.431 GB, free: 8.855 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.854, allocations: 303.1 kB / 1.432 GB, free: 8.559 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/0.8549, allocations: 0.5705 MB / 1.432 GB, free: 7.949 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.855, allocations: 57.94 kB / 1.432 GB, free: 7.891 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.8551, allocations: 83.97 kB / 1.432 GB, free: 7.809 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.8564, allocations: 0.8908 MB / 1.433 GB, free: 6.859 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.8564, allocations: 3.938 kB / 1.433 GB, free: 6.855 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.8565, allocations: 35.98 kB / 1.433 GB, free: 6.82 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.8565, allocations: 41.23 kB / 1.433 GB, free: 6.785 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.8575, allocations: 0.5827 MB / 1.434 GB, free: 6.203 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.8607, allocations: 3.502 MB / 1.437 GB, free: 2.512 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.8611, allocations: 223.6 kB / 1.437 GB, free: 2.266 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.8614, allocations: 142.5 kB / 1.437 GB, free: 2.117 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.8621, allocations: 489.4 kB / 1.438 GB, free: 1.547 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.8621, allocations: 42.55 kB / 1.438 GB, free: 1.496 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.8622, allocations: 0 / 1.438 GB, free: 1.496 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0012/0.8634, allocations: 455.5 kB / 1.438 GB, free: 1.047 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.8634, allocations: 114.8 kB / 1.439 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/0.8644, allocations: 0.8645 MB / 1.439 GB, free: 36 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.8644, allocations: 29.7 kB / 1.439 GB, free: 0 / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.8647, allocations: 384.2 kB / 1.44 GB, free: 15.62 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.8648, allocations: 71.33 kB / 1.44 GB, free: 15.55 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.8649, allocations: 65.69 kB / 1.44 GB, free: 15.48 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.865, allocations: 314 kB / 1.44 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.8652, allocations: 103.9 kB / 1.44 GB, free: 15.06 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.8655, allocations: 211 kB / 1.441 GB, free: 14.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.866, allocations: 308.9 kB / 1.441 GB, free: 14.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.866, allocations: 0 / 1.441 GB, free: 14.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006601/0.8667, allocations: 412.6 kB / 1.441 GB, free: 14.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8667, allocations: 8 kB / 1.441 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8667, allocations: 0 / 1.441 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.8667, allocations: 11.94 kB / 1.441 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.867, allocations: 59.91 kB / 1.441 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.867, allocations: 8.281 kB / 1.441 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.8675, allocations: 91.28 kB / 1.441 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.8675, allocations: 12 kB / 1.441 GB, free: 13.88 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002299/0.8678, allocations: 229.7 kB / 1.442 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.8679, allocations: 83.48 kB / 1.442 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.8685, allocations: 326 kB / 1.442 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8685, allocations: 7.984 kB / 1.442 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8685, allocations: 4 kB / 1.442 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8685, allocations: 0 / 1.442 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.8704, allocations: 1.366 MB / 1.443 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.8704, allocations: 8.047 kB / 1.443 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.8706, allocations: 51.86 kB / 1.443 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.8706, allocations: 4 kB / 1.443 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.8707, allocations: 15.94 kB / 1.443 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.8707, allocations: 11.92 kB / 1.443 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8707, allocations: 4 kB / 1.443 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.8713, allocations: 0.516 MB / 1.444 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.8715, allocations: 196.5 kB / 1.444 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.8716, allocations: 8 kB / 1.444 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.872, allocations: 19.92 kB / 1.444 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.8721, allocations: 23.92 kB / 1.444 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.8721, allocations: 12 kB / 1.444 GB, free: 10.8 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006931/0.8728, allocations: 0.6121 MB / 1.445 GB, free: 10.2 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8728, allocations: 0 / 1.445 GB, free: 10.2 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005442/0.8734, allocations: 167.8 kB / 1.445 GB, free: 10.03 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001152/0.8745, allocations: 1.146 MB / 1.446 GB, free: 8.816 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000554/0.8751, allocations: 256.2 kB / 1.446 GB, free: 8.566 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8751, allocations: 4 kB / 1.446 GB, free: 8.562 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.8754, allocations: 131.8 kB / 1.446 GB, free: 8.434 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.8772, allocations: 428.9 kB / 1.447 GB, free: 8.02 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.8841, allocations: 5.999 MB / 1.453 GB, free: 1.703 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.8846, allocations: 0.9956 MB / 1.454 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004452/0.8851, allocations: 170.2 kB / 1.454 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.8854, allocations: 271.3 kB / 1.454 GB, free: 252 kB / 1.17 GB Notification: Performance of SimCode: time 3.1e-07/0.8854, allocations: 0 / 1.454 GB, free: 252 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.9224, allocations: 20.77 MB / 1.474 GB, free: 11.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.594, allocations: 12.58 kB / 1.474 GB, free: 11.8 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_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_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches