Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 211.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.889/2.889, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 61.81 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2952, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1829/0.4781, allocations: 155.4 MB / 1.477 GB, free: 6.398 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009957/0.488, allocations: 8.018 MB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.4886, allocations: 27.75 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000718/0.4893, allocations: 309.7 kB / 1.485 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0006656/0.49, allocations: 310.4 kB / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009838/0.4909, allocations: 404.1 kB / 1.486 GB, free: 13.33 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.4922, allocations: 1.152 MB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.4928, allocations: 443 kB / 1.487 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.4973, allocations: 2.09 MB / 1.489 GB, free: 9.637 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.4978, allocations: 346.4 kB / 1.49 GB, free: 9.297 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.4979, allocations: 40 kB / 1.49 GB, free: 9.258 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.4981, allocations: 87.89 kB / 1.49 GB, free: 9.172 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.4984, allocations: 275.2 kB / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.4986, allocations: 230.9 kB / 1.49 GB, free: 8.676 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.4994, allocations: 0.6379 MB / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4994, allocations: 0 / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4994, allocations: 0 / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.4994, allocations: 0 / 1.491 GB, free: 8.035 MB / 1.186 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.001056/0.5005, allocations: 0.7697 MB / 1.492 GB, free: 7.23 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5005, allocations: 8.031 kB / 1.492 GB, free: 7.223 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.5006, allocations: 98.45 kB / 1.492 GB, free: 7.117 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.5007, allocations: 75.52 kB / 1.492 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.5015, allocations: 383.2 kB / 1.492 GB, free: 6.641 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.5015, allocations: 41.3 kB / 1.492 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.5016, allocations: 48 kB / 1.492 GB, free: 6.555 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5026, allocations: 0.7066 MB / 1.493 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.5027, allocations: 0 / 1.493 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.5027, allocations: 23.94 kB / 1.493 GB, free: 5.742 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.5028, allocations: 39.92 kB / 1.493 GB, free: 5.703 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.5034, allocations: 371.4 kB / 1.493 GB, free: 5.34 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.5062, allocations: 3.079 MB / 1.496 GB, free: 2.125 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.5065, allocations: 214.1 kB / 1.496 GB, free: 1.824 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.5067, allocations: 124.6 kB / 1.497 GB, free: 1.672 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5067, allocations: 15.94 kB / 1.497 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.5068, allocations: 42.5 kB / 1.497 GB, free: 1.605 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5068, allocations: 0 / 1.497 GB, free: 1.605 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006996/0.5075, allocations: 254.1 kB / 1.497 GB, free: 1.352 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.5076, allocations: 298.7 kB / 1.497 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.5084, allocations: 0.6799 MB / 1.498 GB, free: 308 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5084, allocations: 29.7 kB / 1.498 GB, free: 272 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.5087, allocations: 268.3 kB / 1.498 GB, free: 0 / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.5087, allocations: 31.89 kB / 1.498 GB, free: 15.96 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.5088, allocations: 33.7 kB / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5089, allocations: 367.1 kB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5091, allocations: 39.95 kB / 1.499 GB, free: 15.52 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.5093, allocations: 221.6 kB / 1.499 GB, free: 15.25 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.5095, allocations: 132.9 kB / 1.499 GB, free: 15.11 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5096, allocations: 4 kB / 1.499 GB, free: 15.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003551/0.5099, allocations: 193.1 kB / 1.499 GB, free: 14.91 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5099, allocations: 13.61 kB / 1.499 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5099, allocations: 0 / 1.499 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5099, allocations: 4 kB / 1.499 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.5102, allocations: 35.97 kB / 1.499 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5102, allocations: 3.984 kB / 1.499 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.5104, allocations: 55.7 kB / 1.499 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.5104, allocations: 15.98 kB / 1.499 GB, free: 14.79 MB / 1.201 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.000225/0.5106, allocations: 197.7 kB / 1.499 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.5108, allocations: 67.55 kB / 1.499 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.878e-05/0.5109, allocations: 64.44 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5109, allocations: 4 kB / 1.5 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5109, allocations: 3.938 kB / 1.5 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5109, allocations: 4 kB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.5124, allocations: 1.241 MB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5124, allocations: 4 kB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.5126, allocations: 43.89 kB / 1.501 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5126, allocations: 0 / 1.501 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.5126, allocations: 4 kB / 1.501 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.5126, allocations: 4 kB / 1.501 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5126, allocations: 12.16 kB / 1.501 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.5131, allocations: 342.7 kB / 1.501 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.5132, allocations: 71.59 kB / 1.501 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.5133, allocations: 8 kB / 1.501 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.5134, allocations: 7.984 kB / 1.501 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.5135, allocations: 19.92 kB / 1.501 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5135, allocations: 8.062 kB / 1.501 GB, free: 12.55 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005753/0.5141, allocations: 0.4912 MB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5141, allocations: 7.938 kB / 1.502 GB, free: 12.05 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003785/0.5144, allocations: 79.94 kB / 1.502 GB, free: 11.98 MB / 1.201 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.0008308/0.5153, allocations: 0.899 MB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.5156, allocations: 103.8 kB / 1.503 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5156, allocations: 3.938 kB / 1.503 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5158, allocations: 59.84 kB / 1.503 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.517, allocations: 275.3 kB / 1.503 GB, free: 10.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005494/0.5225, allocations: 4.462 MB / 1.507 GB, free: 5.965 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5228, allocations: 309.7 kB / 1.508 GB, free: 5.641 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.5231, allocations: 100.6 kB / 1.508 GB, free: 5.539 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5233, allocations: 171.4 kB / 1.508 GB, free: 5.371 MB / 1.201 GB Notification: Performance of SimCode: time 5.31e-07/0.5233, allocations: 0 / 1.508 GB, free: 5.371 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04608/0.5693, allocations: 15.22 MB / 1.523 GB, free: 6.516 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.43, allocations: 9.625 kB / 1.523 GB, free: 6.512 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.435124185867608]