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.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.001224/0.001224, 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.001502/0.001502, allocations: 207.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.301/1.301, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.887/2.887, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002034/0.002034, allocations: 68.95 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1741/0.4683, allocations: 155.4 MB / 1.515 GB, free: 2.098 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009286/0.4776, allocations: 8.016 MB / 1.523 GB, free: 10.06 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.4779, allocations: 31.69 kB / 1.523 GB, free: 10.03 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.4785, allocations: 305.7 kB / 1.523 GB, free: 9.73 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0006031/0.4791, allocations: 318.4 kB / 1.524 GB, free: 9.418 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.48, allocations: 390.4 kB / 1.524 GB, free: 9.039 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.4811, allocations: 1.152 MB / 1.525 GB, free: 7.883 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.4817, allocations: 443.1 kB / 1.526 GB, free: 7.441 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.4857, allocations: 2.086 MB / 1.528 GB, free: 5.348 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.4862, allocations: 346.4 kB / 1.528 GB, free: 5.008 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.4862, allocations: 47.94 kB / 1.528 GB, free: 4.961 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.4864, allocations: 83.95 kB / 1.528 GB, free: 4.879 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.4867, allocations: 275.2 kB / 1.528 GB, free: 4.609 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.4869, allocations: 226.9 kB / 1.528 GB, free: 4.387 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.4876, allocations: 0.6418 MB / 1.529 GB, free: 3.742 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4876, allocations: 3.938 kB / 1.529 GB, free: 3.738 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4876, allocations: 0 / 1.529 GB, free: 3.738 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4876, allocations: 0 / 1.529 GB, free: 3.738 MB / 1.217 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.0009576/0.4885, allocations: 0.7581 MB / 1.53 GB, free: 2.945 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4886, allocations: 12.03 kB / 1.53 GB, free: 2.934 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.4887, allocations: 98.52 kB / 1.53 GB, free: 2.828 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.4888, allocations: 71.52 kB / 1.53 GB, free: 2.758 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.4895, allocations: 379.3 kB / 1.53 GB, free: 2.363 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.4895, allocations: 41.31 kB / 1.53 GB, free: 2.324 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.4896, allocations: 52 kB / 1.53 GB, free: 2.273 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.4905, allocations: 0.7027 MB / 1.531 GB, free: 1.488 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4905, allocations: 3.938 kB / 1.531 GB, free: 1.484 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.4906, allocations: 35.88 kB / 1.531 GB, free: 1.449 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.4906, allocations: 27.98 kB / 1.531 GB, free: 1.422 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.4912, allocations: 375.4 kB / 1.532 GB, free: 1.055 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.4938, allocations: 3.075 MB / 1.535 GB, free: 13.84 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.4941, allocations: 214.1 kB / 1.535 GB, free: 13.54 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.4943, allocations: 132.5 kB / 1.535 GB, free: 13.38 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4943, allocations: 7.984 kB / 1.535 GB, free: 13.38 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4943, allocations: 42.83 kB / 1.535 GB, free: 13.32 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4943, allocations: 0 / 1.535 GB, free: 13.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006389/0.495, allocations: 254.1 kB / 1.535 GB, free: 13.07 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.4951, allocations: 298.6 kB / 1.535 GB, free: 12.71 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.4959, allocations: 0.6839 MB / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4959, allocations: 29.7 kB / 1.536 GB, free: 11.98 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4961, allocations: 272.2 kB / 1.536 GB, free: 11.71 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4962, allocations: 35.69 kB / 1.536 GB, free: 11.68 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.4962, allocations: 29.7 kB / 1.537 GB, free: 11.64 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4964, allocations: 366.8 kB / 1.537 GB, free: 11.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4965, allocations: 39.95 kB / 1.537 GB, free: 11.24 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.4967, allocations: 225.6 kB / 1.537 GB, free: 10.97 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.497, allocations: 125.2 kB / 1.537 GB, free: 10.83 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.497, allocations: 4.062 kB / 1.537 GB, free: 10.82 MB / 1.232 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003379/0.4973, allocations: 197.1 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4973, allocations: 14.44 kB / 1.537 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4973, allocations: 0 / 1.537 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4973, allocations: 7.984 kB / 1.537 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.4975, allocations: 31.97 kB / 1.537 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4975, allocations: 8.125 kB / 1.537 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.4977, allocations: 63.5 kB / 1.538 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4978, allocations: 11.98 kB / 1.538 GB, free: 10.49 MB / 1.232 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.0001983/0.498, allocations: 198.9 kB / 1.538 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4982, allocations: 63.56 kB / 1.538 GB, free: 10.23 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.4982, allocations: 60.25 kB / 1.538 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4982, allocations: 4 kB / 1.538 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4982, allocations: 4 kB / 1.538 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4983, allocations: 4 kB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4996, allocations: 1.241 MB / 1.539 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4996, allocations: 0 / 1.539 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.4998, allocations: 39.95 kB / 1.539 GB, free: 8.789 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4998, allocations: 4 kB / 1.539 GB, free: 8.785 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4998, allocations: 8 kB / 1.539 GB, free: 8.777 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4998, allocations: 8.219 kB / 1.539 GB, free: 8.77 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4998, allocations: 4 kB / 1.539 GB, free: 8.766 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.5002, allocations: 334.7 kB / 1.539 GB, free: 8.395 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.5004, allocations: 79.59 kB / 1.54 GB, free: 8.316 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.5004, allocations: 0 / 1.54 GB, free: 8.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5006, allocations: 15.98 kB / 1.54 GB, free: 8.301 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.5006, allocations: 19.8 kB / 1.54 GB, free: 8.281 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.5006, allocations: 8 kB / 1.54 GB, free: 8.273 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005372/0.5012, allocations: 0.4951 MB / 1.54 GB, free: 7.781 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5012, allocations: 0 / 1.54 GB, free: 7.781 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003509/0.5015, allocations: 87.89 kB / 1.54 GB, free: 7.695 MB / 1.232 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.0007535/0.5023, allocations: 0.8914 MB / 1.541 GB, free: 6.75 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.5026, allocations: 115.8 kB / 1.541 GB, free: 6.637 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5026, allocations: 0 / 1.541 GB, free: 6.637 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.5027, allocations: 55.84 kB / 1.541 GB, free: 6.582 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5039, allocations: 276.6 kB / 1.541 GB, free: 6.316 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.5091, allocations: 4.465 MB / 1.546 GB, free: 1.68 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.5094, allocations: 305.6 kB / 1.546 GB, free: 1.355 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.5096, allocations: 108.6 kB / 1.546 GB, free: 1.246 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.5098, allocations: 171.3 kB / 1.546 GB, free: 1.082 MB / 1.232 GB Notification: Performance of SimCode: time 4.81e-07/0.5098, allocations: 3.938 kB / 1.546 GB, free: 1.078 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.552, allocations: 15.21 MB / 1.561 GB, free: 2.223 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.98, allocations: 8.062 kB / 1.561 GB, free: 2.215 MB / 1.248 GB " [Timeout remaining time 289] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.88195555470884]