Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0013/0.0013, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001463/0.001463, allocations: 213.2 kB / 23.04 MB, free: 5.07 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7715 GB, free: 4.234 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",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.001996/0.001996, allocations: 64.64 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2171/0.517, allocations: 179.7 MB / 1.46 GB, free: 7.297 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.5288, allocations: 8.828 MB / 1.468 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.5296, allocations: 27.75 kB / 1.468 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008544/0.5304, allocations: 305.7 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008492/0.5313, allocations: 326.3 kB / 1.469 GB, free: 13.8 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.5324, allocations: 418.1 kB / 1.469 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.5338, allocations: 1.172 MB / 1.47 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.5345, allocations: 454.5 kB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.5395, allocations: 2.172 MB / 1.473 GB, free: 9.594 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007175/0.5402, allocations: 390.3 kB / 1.473 GB, free: 9.211 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.5403, allocations: 36 kB / 1.473 GB, free: 9.176 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.5405, allocations: 87.94 kB / 1.474 GB, free: 9.09 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.5409, allocations: 267.2 kB / 1.474 GB, free: 8.828 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.5412, allocations: 282.5 kB / 1.474 GB, free: 8.551 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008806/0.5421, allocations: 0.6379 MB / 1.475 GB, free: 7.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5421, allocations: 4 kB / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5421, allocations: 0 / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.5421, allocations: 0 / 1.475 GB, free: 7.906 MB / 1.17 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.001203/0.5433, allocations: 0.7697 MB / 1.475 GB, free: 7.102 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.5434, allocations: 12.03 kB / 1.475 GB, free: 7.09 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.945e-05/0.5434, allocations: 13.31 kB / 1.475 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.5435, allocations: 106.4 kB / 1.476 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.5436, allocations: 67.58 kB / 1.476 GB, free: 6.898 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.5444, allocations: 375.4 kB / 1.476 GB, free: 6.504 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.5444, allocations: 41.31 kB / 1.476 GB, free: 6.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.5445, allocations: 59.92 kB / 1.476 GB, free: 6.406 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.5456, allocations: 0.7066 MB / 1.477 GB, free: 5.613 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5456, allocations: 3.938 kB / 1.477 GB, free: 5.609 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.5457, allocations: 27.92 kB / 1.477 GB, free: 5.582 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.5458, allocations: 31.98 kB / 1.477 GB, free: 5.551 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.5464, allocations: 375.4 kB / 1.477 GB, free: 5.184 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.5496, allocations: 3.153 MB / 1.48 GB, free: 1.895 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.5499, allocations: 210.1 kB / 1.48 GB, free: 1.598 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.5501, allocations: 128.5 kB / 1.481 GB, free: 1.441 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.5501, allocations: 8 kB / 1.481 GB, free: 1.434 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5502, allocations: 50.42 kB / 1.481 GB, free: 1.375 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.5502, allocations: 0 / 1.481 GB, free: 1.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0007354/0.5509, allocations: 246.2 kB / 1.481 GB, free: 1.129 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.5511, allocations: 298.7 kB / 1.481 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.5519, allocations: 0.6838 MB / 1.482 GB, free: 76 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.5519, allocations: 29.7 kB / 1.482 GB, free: 40 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.5521, allocations: 268.2 kB / 1.482 GB, free: 15.77 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.5522, allocations: 39.67 kB / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.5523, allocations: 29.72 kB / 1.482 GB, free: 15.7 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5525, allocations: 374.8 kB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.5526, allocations: 35.97 kB / 1.483 GB, free: 15.29 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5528, allocations: 97.03 kB / 1.483 GB, free: 15.18 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.553, allocations: 125 kB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.553, allocations: 0 / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003723/0.5534, allocations: 193.4 kB / 1.483 GB, free: 14.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5534, allocations: 10.59 kB / 1.483 GB, free: 14.83 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5534, allocations: 4 kB / 1.483 GB, free: 14.83 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5534, allocations: 3.938 kB / 1.483 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.5537, allocations: 47.89 kB / 1.483 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.5537, allocations: 192 / 1.483 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.5539, allocations: 63.5 kB / 1.483 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.5539, allocations: 7.984 kB / 1.483 GB, free: 14.71 MB / 1.186 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.0002288/0.5542, allocations: 197.8 kB / 1.483 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.5544, allocations: 67.56 kB / 1.483 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.704e-05/0.5545, allocations: 60.25 kB / 1.483 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5545, allocations: 4 kB / 1.483 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5545, allocations: 0 / 1.483 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5545, allocations: 4.188 kB / 1.483 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.556, allocations: 1.288 MB / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.556, allocations: 8 kB / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.5562, allocations: 39.95 kB / 1.485 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.5562, allocations: 4 kB / 1.485 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5562, allocations: 7.938 kB / 1.485 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5562, allocations: 4 kB / 1.485 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.5562, allocations: 3.938 kB / 1.485 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.5566, allocations: 338.9 kB / 1.485 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.5567, allocations: 71.59 kB / 1.485 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.5568, allocations: 11.98 kB / 1.485 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.557, allocations: 4 kB / 1.485 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.557, allocations: 23.86 kB / 1.485 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.557, allocations: 8 kB / 1.485 GB, free: 12.43 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005769/0.5576, allocations: 0.4912 MB / 1.486 GB, free: 11.95 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5576, allocations: 0 / 1.486 GB, free: 11.95 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004366/0.558, allocations: 83.92 kB / 1.486 GB, free: 11.86 MB / 1.186 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.0008409/0.5589, allocations: 0.9068 MB / 1.487 GB, free: 10.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.5592, allocations: 99.8 kB / 1.487 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5592, allocations: 0 / 1.487 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.5593, allocations: 68.77 kB / 1.487 GB, free: 10.73 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.5606, allocations: 275.8 kB / 1.487 GB, free: 10.47 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.5661, allocations: 4.465 MB / 1.491 GB, free: 5.844 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.5666, allocations: 0.905 MB / 1.492 GB, free: 4.914 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002476/0.5669, allocations: 96.62 kB / 1.492 GB, free: 4.816 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.5671, allocations: 175.4 kB / 1.493 GB, free: 4.645 MB / 1.186 GB Notification: Performance of SimCode: time 5.21e-07/0.5671, allocations: 0 / 1.493 GB, free: 4.645 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.6063, allocations: 13.79 MB / 1.506 GB, free: 7.137 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.5, allocations: 10.38 kB / 1.506 GB, free: 7.133 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.059683183033485]