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.001322/0.001322, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001582/0.001582, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.902/2.902, allocations: 0.49 GB / 0.7959 GB, free: 33.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_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.001864/0.001864, allocations: 60.75 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2796, allocations: 176.1 MB / 1.327 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.198/0.4776, allocations: 179.8 MB / 1.502 GB, free: 13.56 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.489, allocations: 8.847 MB / 1.511 GB, free: 4.691 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.4898, allocations: 35.69 kB / 1.511 GB, free: 4.656 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009556/0.4907, allocations: 305.7 kB / 1.511 GB, free: 4.355 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0009323/0.4917, allocations: 306.4 kB / 1.511 GB, free: 4.055 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4928, allocations: 416.3 kB / 1.512 GB, free: 3.648 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.4943, allocations: 1.164 MB / 1.513 GB, free: 2.477 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000819/0.4952, allocations: 447.1 kB / 1.513 GB, free: 2.035 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.5001, allocations: 2.168 MB / 1.516 GB, free: 15.86 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.5008, allocations: 366.4 kB / 1.516 GB, free: 15.5 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.116e-05/0.5009, allocations: 40 kB / 1.516 GB, free: 15.46 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.5011, allocations: 83.94 kB / 1.516 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.5015, allocations: 279.2 kB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.502, allocations: 290.4 kB / 1.517 GB, free: 14.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.5029, allocations: 0.6339 MB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5029, allocations: 0 / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.336e-06/0.5029, allocations: 4 kB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.5029, allocations: 0 / 1.517 GB, free: 14.18 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.001224/0.5041, allocations: 0.7619 MB / 1.518 GB, free: 13.38 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5042, allocations: 8.031 kB / 1.518 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.5042, allocations: 17.31 kB / 1.518 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.5043, allocations: 102.4 kB / 1.518 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.5044, allocations: 71.58 kB / 1.518 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007251/0.5051, allocations: 383.2 kB / 1.518 GB, free: 12.78 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.5052, allocations: 41.31 kB / 1.519 GB, free: 12.74 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.5052, allocations: 51.98 kB / 1.519 GB, free: 12.69 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.5064, allocations: 0.695 MB / 1.519 GB, free: 11.91 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5064, allocations: 7.938 kB / 1.519 GB, free: 11.9 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.5064, allocations: 31.92 kB / 1.519 GB, free: 11.87 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.5065, allocations: 27.98 kB / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.5072, allocations: 379.2 kB / 1.52 GB, free: 11.47 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.5101, allocations: 3.153 MB / 1.523 GB, free: 8.184 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.5104, allocations: 218.2 kB / 1.523 GB, free: 7.879 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.5106, allocations: 124.5 kB / 1.523 GB, free: 7.727 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.5106, allocations: 7.984 kB / 1.523 GB, free: 7.719 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.5107, allocations: 50.44 kB / 1.523 GB, free: 7.66 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5107, allocations: 4 kB / 1.523 GB, free: 7.656 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007133/0.5114, allocations: 249.9 kB / 1.523 GB, free: 7.406 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.5115, allocations: 294.7 kB / 1.524 GB, free: 7.051 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.5124, allocations: 0.6877 MB / 1.524 GB, free: 6.355 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/0.5125, allocations: 29.7 kB / 1.524 GB, free: 6.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.5127, allocations: 264.5 kB / 1.525 GB, free: 6.059 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.5127, allocations: 43.67 kB / 1.525 GB, free: 6.016 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.5128, allocations: 29.72 kB / 1.525 GB, free: 5.98 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.513, allocations: 366.8 kB / 1.525 GB, free: 5.613 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.5131, allocations: 39.91 kB / 1.525 GB, free: 5.574 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5133, allocations: 105.1 kB / 1.525 GB, free: 5.453 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5135, allocations: 121.4 kB / 1.525 GB, free: 5.316 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5136, allocations: 4 kB / 1.525 GB, free: 5.312 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004313/0.514, allocations: 193.1 kB / 1.525 GB, free: 5.117 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.514, allocations: 11.88 kB / 1.525 GB, free: 5.105 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.514, allocations: 0 / 1.525 GB, free: 5.105 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.514, allocations: 4 kB / 1.525 GB, free: 5.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.5142, allocations: 48.08 kB / 1.526 GB, free: 5.055 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5143, allocations: 0 / 1.526 GB, free: 5.055 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.5145, allocations: 55.5 kB / 1.526 GB, free: 5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.5145, allocations: 12 kB / 1.526 GB, free: 4.988 MB / 1.217 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.0002193/0.5147, allocations: 193.8 kB / 1.526 GB, free: 4.789 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.5149, allocations: 67.55 kB / 1.526 GB, free: 4.723 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.515, allocations: 56.27 kB / 1.526 GB, free: 4.66 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.515, allocations: 8 kB / 1.526 GB, free: 4.652 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.515, allocations: 4 kB / 1.526 GB, free: 4.648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.515, allocations: 7.938 kB / 1.526 GB, free: 4.641 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.5165, allocations: 1.268 MB / 1.527 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5165, allocations: 4 kB / 1.527 GB, free: 3.285 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.5167, allocations: 43.89 kB / 1.527 GB, free: 3.242 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5167, allocations: 4 kB / 1.527 GB, free: 3.238 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.5167, allocations: 0 / 1.527 GB, free: 3.238 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5167, allocations: 4.281 kB / 1.527 GB, free: 3.234 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5167, allocations: 11.94 kB / 1.527 GB, free: 3.223 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.5171, allocations: 346.8 kB / 1.528 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5172, allocations: 75.53 kB / 1.528 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.5173, allocations: 8 kB / 1.528 GB, free: 2.758 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.5175, allocations: 4 kB / 1.528 GB, free: 2.754 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.5175, allocations: 19.92 kB / 1.528 GB, free: 2.734 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.5175, allocations: 8 kB / 1.528 GB, free: 2.727 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005646/0.5181, allocations: 0.4912 MB / 1.528 GB, free: 2.238 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5181, allocations: 0 / 1.528 GB, free: 2.238 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003712/0.5185, allocations: 83.94 kB / 1.528 GB, free: 2.156 MB / 1.217 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.0008381/0.5193, allocations: 0.8951 MB / 1.529 GB, free: 1.203 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.5196, allocations: 103.8 kB / 1.529 GB, free: 1.102 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5196, allocations: 384 / 1.529 GB, free: 1.102 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.5198, allocations: 67.83 kB / 1.529 GB, free: 1.035 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.521, allocations: 279.8 kB / 1.53 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/0.5271, allocations: 4.466 MB / 1.534 GB, free: 12.13 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.5276, allocations: 0.9011 MB / 1.535 GB, free: 11.2 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.5279, allocations: 108.6 kB / 1.535 GB, free: 11.09 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.5282, allocations: 179.4 kB / 1.535 GB, free: 10.91 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/0.5282, allocations: 0 / 1.535 GB, free: 10.91 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.5658, allocations: 13.78 MB / 1.549 GB, free: 13.42 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.54, allocations: 6.406 kB / 1.549 GB, free: 13.42 MB / 1.248 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.611351532978006]