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.00899/0.00899, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.002115/0.002115, allocations: 195.4 kB / 16.67 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.427/2.427, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 62.97 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2552, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1742/0.4294, allocations: 176 MB / 1.259 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6434/1.073, allocations: 8.704 MB / 1.268 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008664/1.074, allocations: 24.28 kB / 1.268 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008209/1.075, allocations: 294.7 kB / 1.268 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000895/1.076, allocations: 306.8 kB / 1.268 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/1.077, allocations: 372.6 kB / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001537/1.078, allocations: 1.158 MB / 1.27 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009371/1.079, allocations: 0.586 MB / 1.27 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004941/1.084, allocations: 2.066 MB / 1.273 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/1.085, allocations: 347 kB / 1.273 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/1.085, allocations: 40.38 kB / 1.273 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/1.085, allocations: 86.92 kB / 1.273 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/1.086, allocations: 255.3 kB / 1.273 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004308/1.086, allocations: 284 kB / 1.273 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/1.087, allocations: 0.6295 MB / 1.274 GB, free: 3.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.087, allocations: 6.688 kB / 1.274 GB, free: 3.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/1.087, allocations: 0 / 1.274 GB, free: 3.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.486e-05/1.087, allocations: 0 / 1.274 GB, free: 3.02 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.001126/1.088, allocations: 0.8226 MB / 1.275 GB, free: 2.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.088, allocations: 9.938 kB / 1.275 GB, free: 2.484 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/1.089, allocations: 95.36 kB / 1.275 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/1.089, allocations: 68.11 kB / 1.275 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/1.09, allocations: 448.7 kB / 1.275 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/1.09, allocations: 43.7 kB / 1.276 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/1.09, allocations: 55.59 kB / 1.276 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.091, allocations: 0.7006 MB / 1.276 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.091, allocations: 8.312 kB / 1.276 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/1.091, allocations: 24.92 kB / 1.276 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.117e-05/1.091, allocations: 31.25 kB / 1.276 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/1.092, allocations: 372.8 kB / 1.277 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/1.095, allocations: 3.221 MB / 1.28 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/1.096, allocations: 217.7 kB / 1.28 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/1.096, allocations: 131.5 kB / 1.28 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/1.096, allocations: 5.094 kB / 1.28 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/1.096, allocations: 51.28 kB / 1.28 GB, free: 15.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 3.296e-06/1.096, allocations: 1.594 kB / 1.28 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0008008/1.097, allocations: 246.1 kB / 1.28 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.097, allocations: 290.6 kB / 1.281 GB, free: 14.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/1.098, allocations: 0.6875 MB / 1.281 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/1.098, allocations: 28.11 kB / 1.281 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/1.098, allocations: 267.6 kB / 1.282 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/1.098, allocations: 37.58 kB / 1.282 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/1.098, allocations: 31.2 kB / 1.282 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.098, allocations: 374 kB / 1.282 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.098, allocations: 36.52 kB / 1.282 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/1.099, allocations: 96.94 kB / 1.282 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/1.099, allocations: 127.5 kB / 1.282 GB, free: 14.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.099, allocations: 3.125 kB / 1.282 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004199/1.099, allocations: 191.5 kB / 1.283 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.099, allocations: 9.031 kB / 1.283 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.099, allocations: 2.281 kB / 1.283 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.099, allocations: 3.453 kB / 1.283 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/1.1, allocations: 41.75 kB / 1.283 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.1, allocations: 2.719 kB / 1.283 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/1.1, allocations: 63.5 kB / 1.283 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/1.1, allocations: 7.906 kB / 1.283 GB, free: 13.96 MB / 1.029 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.0002448/1.1, allocations: 204.2 kB / 1.283 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/1.1, allocations: 58.72 kB / 1.283 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.976e-05/1.101, allocations: 60.34 kB / 1.283 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.101, allocations: 4.156 kB / 1.283 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.101, allocations: 5.859 kB / 1.283 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.101, allocations: 9.188 kB / 1.283 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/1.102, allocations: 1.3 MB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.102, allocations: 2.719 kB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/1.102, allocations: 43.53 kB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.102, allocations: 2.656 kB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/1.102, allocations: 5.969 kB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.102, allocations: 4.781 kB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.102, allocations: 5.75 kB / 1.284 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/1.103, allocations: 337.7 kB / 1.285 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/1.103, allocations: 147.4 kB / 1.285 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/1.103, allocations: 5.859 kB / 1.285 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/1.103, allocations: 9.266 kB / 1.285 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/1.103, allocations: 19.45 kB / 1.285 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/1.103, allocations: 4.906 kB / 1.285 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006383/1.104, allocations: 0.4951 MB / 1.285 GB, free: 12.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.104, allocations: 0 / 1.285 GB, free: 12.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004524/1.104, allocations: 87.88 kB / 1.285 GB, free: 12.37 MB / 1.029 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.001015/1.105, allocations: 0.8998 MB / 1.286 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003587/1.106, allocations: 113.4 kB / 1.286 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.106, allocations: 0 / 1.286 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/1.106, allocations: 63.48 kB / 1.286 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.108, allocations: 289 kB / 1.287 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/1.114, allocations: 4.429 MB / 1.291 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/1.115, allocations: 0.9049 MB / 1.292 GB, free: 9.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004542/1.115, allocations: 113.2 kB / 1.292 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/1.115, allocations: 171.7 kB / 1.292 GB, free: 9.141 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/1.115, allocations: 1.281 kB / 1.292 GB, free: 9.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/1.158, allocations: 13.8 MB / 1.306 GB, free: 8.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.578, allocations: 5.312 kB / 1.306 GB, free: 8.062 MB / 1.029 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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