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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001803/0.001803, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001964/0.001964, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.37/2.37, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.853/4.853, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 68.97 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.5535, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.3171/0.8706, allocations: 173.7 MB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.8866, allocations: 8.617 MB / 1.23 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.8879, allocations: 19.81 kB / 1.23 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.8891, allocations: 254.4 kB / 1.231 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.8905, allocations: 278.7 kB / 1.231 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.8921, allocations: 342.5 kB / 1.231 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.8941, allocations: 1.156 MB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.8953, allocations: 0.5529 MB / 1.233 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00731/0.9026, allocations: 2.001 MB / 1.235 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008307/0.9035, allocations: 378.3 kB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.9036, allocations: 40 kB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.904, allocations: 75.95 kB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.9044, allocations: 259.4 kB / 1.236 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.9049, allocations: 286.5 kB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.9062, allocations: 0.619 MB / 1.236 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9062, allocations: 0 / 1.236 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9062, allocations: 0 / 1.236 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.9062, allocations: 0 / 1.236 GB, free: 11.46 MB / 0.9981 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.002033/0.9083, allocations: 0.8146 MB / 1.237 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001109/0.9084, allocations: 12.62 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.9086, allocations: 98.5 kB / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.9089, allocations: 67.19 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.9099, allocations: 414.1 kB / 1.238 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.91, allocations: 37.31 kB / 1.238 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.9102, allocations: 55.98 kB / 1.238 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.9119, allocations: 0.7027 MB / 1.239 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.912, allocations: 7.938 kB / 1.239 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.9121, allocations: 27.92 kB / 1.239 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.817e-05/0.9122, allocations: 31.98 kB / 1.239 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.9132, allocations: 383.3 kB / 1.239 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.9173, allocations: 3.212 MB / 1.242 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.9177, allocations: 230.1 kB / 1.242 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.9181, allocations: 124.5 kB / 1.243 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.9181, allocations: 4 kB / 1.243 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.9182, allocations: 46.5 kB / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 4.819e-06/0.9182, allocations: 0 / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.001179/0.9194, allocations: 257.3 kB / 1.243 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/0.9196, allocations: 290.7 kB / 1.243 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.9208, allocations: 0.6839 MB / 1.244 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.9209, allocations: 26.11 kB / 1.244 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.9212, allocations: 280.1 kB / 1.244 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.9213, allocations: 35.53 kB / 1.244 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.9214, allocations: 37.55 kB / 1.244 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002525/0.9217, allocations: 366.8 kB / 1.244 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.9219, allocations: 39.95 kB / 1.245 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.9221, allocations: 93.11 kB / 1.245 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.9225, allocations: 129 kB / 1.245 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9225, allocations: 0 / 1.245 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005347/0.923, allocations: 184.8 kB / 1.245 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.9231, allocations: 7.938 kB / 1.245 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.9231, allocations: 4 kB / 1.245 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.9231, allocations: 4.188 kB / 1.245 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.9235, allocations: 43.89 kB / 1.245 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9235, allocations: 4 kB / 1.245 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.9239, allocations: 67.25 kB / 1.245 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.924, allocations: 4 kB / 1.245 GB, free: 2.098 MB / 0.9981 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.000317/0.9243, allocations: 201.8 kB / 1.245 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/0.9247, allocations: 63.28 kB / 1.245 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.9248, allocations: 60.31 kB / 1.245 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.9249, allocations: 7.938 kB / 1.245 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.9249, allocations: 4 kB / 1.245 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9249, allocations: 0 / 1.245 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.9272, allocations: 1.3 MB / 1.247 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9272, allocations: 0 / 1.247 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.9275, allocations: 48.28 kB / 1.247 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.9276, allocations: 7.938 kB / 1.247 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.9276, allocations: 8 kB / 1.247 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.9276, allocations: 4 kB / 1.247 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9276, allocations: 0 / 1.247 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.93/1.858, allocations: 334 kB / 1.247 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/1.858, allocations: 147.5 kB / 1.247 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.858, allocations: 8.672 kB / 1.247 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/1.859, allocations: 15.55 kB / 1.247 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/1.859, allocations: 14.92 kB / 1.247 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/1.859, allocations: 5.844 kB / 1.247 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001023/1.86, allocations: 0.495 MB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.86, allocations: 0.75 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007659/1.861, allocations: 81.92 kB / 1.248 GB, free: 196.9 MB / 0.9981 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.001196/1.862, allocations: 0.9096 MB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005057/1.862, allocations: 107.8 kB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.862, allocations: 1 kB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/1.863, allocations: 64.64 kB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.865, allocations: 285.1 kB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009026/1.874, allocations: 4.679 MB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.874, allocations: 0.9094 MB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005914/1.875, allocations: 106 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/1.875, allocations: 165.8 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.875, allocations: 2.562 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4461/2.321, allocations: 13.3 MB / 1.268 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/2.322, allocations: 250.2 kB / 1.268 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.185/8.506, allocations: 0 / 1.268 GB, free: 191.2 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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