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.001828/0.001828, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002838/0.002838, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.016 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.867/2.867, allocations: 476.8 MB / 0.7707 GB, free: 4.285 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_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.00209/0.00209, allocations: 66.36 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2154/0.5221, allocations: 179.7 MB / 1.459 GB, free: 7.336 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.5339, allocations: 8.835 MB / 1.468 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.5346, allocations: 31.69 kB / 1.468 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.5355, allocations: 309.7 kB / 1.468 GB, free: 14.15 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.5365, allocations: 314.4 kB / 1.468 GB, free: 13.84 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.5378, allocations: 425.3 kB / 1.469 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.5394, allocations: 1.168 MB / 1.47 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.5403, allocations: 443.1 kB / 1.47 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00523/0.5456, allocations: 2.183 MB / 1.472 GB, free: 9.629 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006811/0.5463, allocations: 374.4 kB / 1.473 GB, free: 9.262 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.5464, allocations: 40 kB / 1.473 GB, free: 9.223 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.5467, allocations: 91.88 kB / 1.473 GB, free: 9.133 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.547, allocations: 267.2 kB / 1.473 GB, free: 8.871 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.5474, allocations: 282.5 kB / 1.473 GB, free: 8.594 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.5484, allocations: 0.6387 MB / 1.474 GB, free: 7.953 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5484, allocations: 0 / 1.474 GB, free: 7.953 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5484, allocations: 0 / 1.474 GB, free: 7.953 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.714e-05/0.5484, allocations: 0 / 1.474 GB, free: 7.953 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.001425/0.5498, allocations: 0.7697 MB / 1.475 GB, free: 7.148 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5499, allocations: 12.03 kB / 1.475 GB, free: 7.137 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.55, allocations: 94.52 kB / 1.475 GB, free: 7.035 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.5502, allocations: 71.52 kB / 1.475 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.551, allocations: 375.3 kB / 1.475 GB, free: 6.574 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.551, allocations: 45.3 kB / 1.475 GB, free: 6.531 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.5511, allocations: 52 kB / 1.475 GB, free: 6.48 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5523, allocations: 0.7129 MB / 1.476 GB, free: 5.688 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5523, allocations: 3.938 kB / 1.476 GB, free: 5.684 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.5523, allocations: 27.94 kB / 1.476 GB, free: 5.656 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.5524, allocations: 27.92 kB / 1.476 GB, free: 5.629 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.5531, allocations: 383.4 kB / 1.476 GB, free: 5.254 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.5563, allocations: 3.145 MB / 1.479 GB, free: 1.969 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.5566, allocations: 226.1 kB / 1.48 GB, free: 1.656 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.5568, allocations: 124.6 kB / 1.48 GB, free: 1.504 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.5568, allocations: 7.938 kB / 1.48 GB, free: 1.496 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.5569, allocations: 46.5 kB / 1.48 GB, free: 1.441 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 2.195e-06/0.5569, allocations: 0 / 1.48 GB, free: 1.441 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0008398/0.5577, allocations: 254 kB / 1.48 GB, free: 1.188 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.5579, allocations: 290.8 kB / 1.48 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.5587, allocations: 0.6877 MB / 1.481 GB, free: 144 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5588, allocations: 29.7 kB / 1.481 GB, free: 108 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.559, allocations: 276.3 kB / 1.481 GB, free: 15.83 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.5591, allocations: 31.7 kB / 1.481 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.5591, allocations: 29.7 kB / 1.481 GB, free: 15.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5593, allocations: 366.8 kB / 1.482 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5594, allocations: 43.95 kB / 1.482 GB, free: 15.35 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.5596, allocations: 89.11 kB / 1.482 GB, free: 15.25 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.5599, allocations: 129 kB / 1.482 GB, free: 15.1 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5599, allocations: 4.328 kB / 1.482 GB, free: 15.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004187/0.5603, allocations: 193.1 kB / 1.482 GB, free: 14.9 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.5603, allocations: 7.938 kB / 1.482 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5604, allocations: 3.938 kB / 1.482 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5604, allocations: 7.984 kB / 1.482 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.5606, allocations: 35.97 kB / 1.482 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5606, allocations: 0 / 1.482 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.5609, allocations: 63.69 kB / 1.482 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.5609, allocations: 11.98 kB / 1.482 GB, free: 14.77 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.0002225/0.5611, allocations: 197.7 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.5613, allocations: 63.56 kB / 1.483 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.5614, allocations: 68.25 kB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5614, allocations: 0 / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5615, allocations: 4 kB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5615, allocations: 4 kB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.563, allocations: 1.272 MB / 1.484 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.563, allocations: 8.062 kB / 1.484 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.5632, allocations: 43.89 kB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5632, allocations: 4 kB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.5632, allocations: 4 kB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.5632, allocations: 3.984 kB / 1.484 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5633, allocations: 4 kB / 1.484 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.5637, allocations: 346.8 kB / 1.484 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.5639, allocations: 75.69 kB / 1.484 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.564, allocations: 7.938 kB / 1.484 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.5641, allocations: 7.984 kB / 1.484 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.5642, allocations: 19.92 kB / 1.484 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5642, allocations: 4 kB / 1.484 GB, free: 12.51 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005916/0.5648, allocations: 0.4951 MB / 1.485 GB, free: 12.02 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5648, allocations: 4 kB / 1.485 GB, free: 12.02 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004102/0.5652, allocations: 75.94 kB / 1.485 GB, free: 11.94 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.0008569/0.5661, allocations: 0.9029 MB / 1.486 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.5664, allocations: 103.8 kB / 1.486 GB, free: 10.88 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5664, allocations: 0 / 1.486 GB, free: 10.88 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.5665, allocations: 64.77 kB / 1.486 GB, free: 10.82 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.5679, allocations: 279.5 kB / 1.486 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.5739, allocations: 4.461 MB / 1.491 GB, free: 5.93 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.5745, allocations: 0.9127 MB / 1.491 GB, free: 4.988 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003162/0.5748, allocations: 108.6 kB / 1.492 GB, free: 4.879 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.5751, allocations: 171.4 kB / 1.492 GB, free: 4.711 MB / 1.186 GB Notification: Performance of SimCode: time 1.072e-06/0.5751, allocations: 0 / 1.492 GB, free: 4.711 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/0.6228, allocations: 13.75 MB / 1.505 GB, free: 7.223 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.87, allocations: 7.531 kB / 1.505 GB, free: 7.219 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: 19.669480110984296]