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 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_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.00752/0.00752, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.002047/0.002048, allocations: 186.4 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2838, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7183/1.002, allocations: 194.1 MB / 1.431 GB, free: 2.938 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01207/1.014, allocations: 10.05 MB / 1.441 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/1.015, allocations: 30.5 kB / 1.441 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/1.016, allocations: 393.4 kB / 1.441 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/1.018, allocations: 1.019 MB / 1.442 GB, free: 9.617 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/1.021, allocations: 1.293 MB / 1.444 GB, free: 8.652 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00175/1.022, allocations: 1.683 MB / 1.445 GB, free: 7.148 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/1.023, allocations: 0.829 MB / 1.446 GB, free: 6.297 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/1.026, allocations: 1.631 MB / 1.448 GB, free: 4.66 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/1.027, allocations: 0.5134 MB / 1.448 GB, free: 4.145 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/1.027, allocations: 64 kB / 1.448 GB, free: 4.082 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/1.029, allocations: 1.395 MB / 1.449 GB, free: 2.684 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003569/1.03, allocations: 351.1 kB / 1.45 GB, free: 2.34 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004439/1.03, allocations: 441.8 kB / 1.45 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/1.032, allocations: 1.509 MB / 1.452 GB, free: 404 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/1.032, allocations: 0 / 1.452 GB, free: 404 kB / 1.139 GB Notification: Performance of FrontEnd: time 3.256e-06/1.032, allocations: 0 / 1.452 GB, free: 404 kB / 1.139 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.032, allocations: 3.938 kB / 1.452 GB, free: 400 kB / 1.139 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.001559/1.034, allocations: 1.168 MB / 1.453 GB, free: 15.17 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.034, allocations: 12.03 kB / 1.453 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/1.034, allocations: 122.6 kB / 1.453 GB, free: 15.03 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/1.036, allocations: 299.8 kB / 1.453 GB, free: 14.74 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009337/1.037, allocations: 0.5744 MB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/1.037, allocations: 57.98 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.037, allocations: 79.94 kB / 1.454 GB, free: 13.99 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/1.038, allocations: 0.8986 MB / 1.455 GB, free: 13.03 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.038, allocations: 0 / 1.455 GB, free: 13.03 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/1.038, allocations: 32 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/1.039, allocations: 41.92 kB / 1.455 GB, free: 12.96 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.04, allocations: 0.5749 MB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/1.043, allocations: 3.494 MB / 1.459 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/1.044, allocations: 219.7 kB / 1.459 GB, free: 8.457 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/1.044, allocations: 156.5 kB / 1.459 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008036/1.045, allocations: 489.4 kB / 1.46 GB, free: 7.727 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.045, allocations: 34.56 kB / 1.46 GB, free: 7.684 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 3.336e-06/1.045, allocations: 0 / 1.46 GB, free: 7.684 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.001229/1.046, allocations: 459.2 kB / 1.46 GB, free: 7.23 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/1.046, allocations: 110.8 kB / 1.46 GB, free: 7.098 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.047, allocations: 0.8722 MB / 1.461 GB, free: 6.211 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/1.047, allocations: 29.7 kB / 1.461 GB, free: 6.176 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/1.048, allocations: 392.3 kB / 1.462 GB, free: 5.789 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/1.048, allocations: 79.3 kB / 1.462 GB, free: 5.711 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/1.048, allocations: 65.69 kB / 1.462 GB, free: 5.641 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.048, allocations: 314 kB / 1.462 GB, free: 5.328 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.048, allocations: 99.92 kB / 1.462 GB, free: 5.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/1.049, allocations: 211.1 kB / 1.462 GB, free: 4.984 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/1.049, allocations: 314.2 kB / 1.463 GB, free: 4.641 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.049, allocations: 0 / 1.463 GB, free: 4.641 MB / 1.154 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000733/1.05, allocations: 401.1 kB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.05, allocations: 12.03 kB / 1.463 GB, free: 4.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.05, allocations: 0 / 1.463 GB, free: 4.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.05, allocations: 4 kB / 1.463 GB, free: 4.227 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/1.05, allocations: 63.84 kB / 1.463 GB, free: 4.164 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.05, allocations: 10.75 kB / 1.463 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/1.051, allocations: 87.28 kB / 1.463 GB, free: 4.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/1.051, allocations: 15.98 kB / 1.463 GB, free: 4.055 MB / 1.154 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.0002667/1.051, allocations: 225.7 kB / 1.463 GB, free: 3.824 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.051, allocations: 91.47 kB / 1.463 GB, free: 3.734 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/1.052, allocations: 314.5 kB / 1.464 GB, free: 3.422 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.052, allocations: 7.938 kB / 1.464 GB, free: 3.414 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.052, allocations: 0 / 1.464 GB, free: 3.414 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.052, allocations: 3.938 kB / 1.464 GB, free: 3.41 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.054, allocations: 1.369 MB / 1.465 GB, free: 1.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.054, allocations: 4 kB / 1.465 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/1.054, allocations: 48.44 kB / 1.465 GB, free: 1.879 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.054, allocations: 8 kB / 1.465 GB, free: 1.871 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/1.054, allocations: 23.81 kB / 1.465 GB, free: 1.852 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.054, allocations: 4 kB / 1.465 GB, free: 1.848 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.054, allocations: 7.938 kB / 1.465 GB, free: 1.84 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/1.055, allocations: 0.5093 MB / 1.466 GB, free: 1.262 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/1.055, allocations: 192.4 kB / 1.466 GB, free: 1.055 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/1.055, allocations: 15.98 kB / 1.466 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/1.056, allocations: 19.94 kB / 1.466 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/1.056, allocations: 23.91 kB / 1.466 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/1.056, allocations: 15.94 kB / 1.466 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007837/1.056, allocations: 0.6083 MB / 1.467 GB, free: 388 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 0 / 1.467 GB, free: 388 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005394/1.057, allocations: 163.8 kB / 1.467 GB, free: 224 kB / 1.154 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.001322/1.058, allocations: 1.149 MB / 1.468 GB, free: 15 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005852/1.059, allocations: 263.5 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.059, allocations: 4 kB / 1.468 GB, free: 14.74 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/1.059, allocations: 129.4 kB / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/1.061, allocations: 434.5 kB / 1.469 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/1.069, allocations: 6.013 MB / 1.474 GB, free: 7.883 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/1.07, allocations: 0.9878 MB / 1.475 GB, free: 6.867 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004555/1.07, allocations: 158.2 kB / 1.476 GB, free: 6.711 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/1.07, allocations: 279.3 kB / 1.476 GB, free: 6.438 MB / 1.17 GB Notification: Performance of SimCode: time 2.3e-07/1.07, allocations: 0 / 1.476 GB, free: 6.438 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/1.117, allocations: 20.75 MB / 1.496 GB, free: 2.012 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.922, allocations: 9.719 kB / 1.496 GB, free: 2.004 MB / 1.186 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 400 --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