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.001454/0.001454, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001638/0.001638, allocations: 220.5 kB / 22.25 MB, free: 5.102 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 7.805 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.922/2.922, allocations: 0.49 GB / 0.7951 GB, free: 35.31 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.001863/0.001863, allocations: 62.59 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2804, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1736/0.4541, allocations: 155.4 MB / 1.478 GB, free: 5.547 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009856/0.4639, allocations: 8.028 MB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007656/0.4647, allocations: 31.69 kB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.4655, allocations: 309.7 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007255/0.4662, allocations: 318.4 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.4672, allocations: 395.2 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.4685, allocations: 1.172 MB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.4692, allocations: 435.2 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004456/0.4736, allocations: 2.094 MB / 1.49 GB, free: 8.758 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.4742, allocations: 378.3 kB / 1.49 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.4742, allocations: 40 kB / 1.49 GB, free: 8.348 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.4744, allocations: 79.95 kB / 1.491 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.4747, allocations: 259.3 kB / 1.491 GB, free: 8.016 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.475, allocations: 238.8 kB / 1.491 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.4757, allocations: 0.6457 MB / 1.492 GB, free: 7.133 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4757, allocations: 0 / 1.492 GB, free: 7.133 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4757, allocations: 0 / 1.492 GB, free: 7.133 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4757, allocations: 0 / 1.492 GB, free: 7.133 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.00103/0.4768, allocations: 0.7658 MB / 1.492 GB, free: 6.332 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4768, allocations: 20.02 kB / 1.492 GB, free: 6.312 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.781e-05/0.4769, allocations: 90.52 kB / 1.492 GB, free: 6.215 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.477, allocations: 79.45 kB / 1.493 GB, free: 6.137 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.4777, allocations: 371.3 kB / 1.493 GB, free: 5.746 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4778, allocations: 45.3 kB / 1.493 GB, free: 5.703 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.4778, allocations: 52 kB / 1.493 GB, free: 5.652 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4789, allocations: 0.7005 MB / 1.494 GB, free: 4.871 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.4789, allocations: 8 kB / 1.494 GB, free: 4.863 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.4789, allocations: 27.94 kB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.479, allocations: 31.91 kB / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.4796, allocations: 375.4 kB / 1.494 GB, free: 4.438 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.4823, allocations: 3.075 MB / 1.497 GB, free: 1.227 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4825, allocations: 218.1 kB / 1.497 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.4827, allocations: 124.5 kB / 1.497 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4827, allocations: 7.984 kB / 1.497 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.4828, allocations: 46.5 kB / 1.497 GB, free: 0.707 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.4828, allocations: 0 / 1.497 GB, free: 0.707 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006782/0.4834, allocations: 254.1 kB / 1.498 GB, free: 464 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.4836, allocations: 290.7 kB / 1.498 GB, free: 104 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.4844, allocations: 0.6878 MB / 1.499 GB, free: 15.4 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.4844, allocations: 25.7 kB / 1.499 GB, free: 15.37 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.4847, allocations: 272.3 kB / 1.499 GB, free: 15.1 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.4847, allocations: 35.69 kB / 1.499 GB, free: 15.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.4848, allocations: 25.72 kB / 1.499 GB, free: 15.03 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4849, allocations: 370.8 kB / 1.499 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4851, allocations: 35.97 kB / 1.499 GB, free: 14.62 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.4853, allocations: 229.6 kB / 1.5 GB, free: 14.35 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.4855, allocations: 125 kB / 1.5 GB, free: 14.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4855, allocations: 0 / 1.5 GB, free: 14.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003384/0.4859, allocations: 193.1 kB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4859, allocations: 11.94 kB / 1.5 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4859, allocations: 0 / 1.5 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4859, allocations: 4.328 kB / 1.5 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.4861, allocations: 36.14 kB / 1.5 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4861, allocations: 15.92 kB / 1.5 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4863, allocations: 63.44 kB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4864, allocations: 8 kB / 1.5 GB, free: 13.88 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.0002338/0.4866, allocations: 197.8 kB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.4868, allocations: 67.75 kB / 1.5 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.4869, allocations: 56.27 kB / 1.5 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4869, allocations: 7.938 kB / 1.5 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4869, allocations: 4 kB / 1.5 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4869, allocations: 4 kB / 1.5 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.4883, allocations: 1.249 MB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4883, allocations: 0 / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.4885, allocations: 39.95 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4885, allocations: 4 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4885, allocations: 4.281 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.4885, allocations: 11.94 kB / 1.502 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4885, allocations: 0 / 1.502 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.489, allocations: 338.7 kB / 1.502 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.4891, allocations: 75.59 kB / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.4892, allocations: 7.984 kB / 1.502 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4893, allocations: 11.98 kB / 1.502 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.4894, allocations: 19.86 kB / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4894, allocations: 8 kB / 1.502 GB, free: 11.65 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005697/0.49, allocations: 0.4951 MB / 1.503 GB, free: 11.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.49, allocations: 0 / 1.503 GB, free: 11.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003883/0.4904, allocations: 79.94 kB / 1.503 GB, free: 11.08 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.0007862/0.4911, allocations: 0.8951 MB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.4914, allocations: 107.8 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4914, allocations: 4 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.4916, allocations: 55.89 kB / 1.504 GB, free: 9.965 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.4928, allocations: 283.3 kB / 1.504 GB, free: 9.695 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.4982, allocations: 4.456 MB / 1.508 GB, free: 5.07 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4985, allocations: 313.6 kB / 1.509 GB, free: 4.742 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002617/0.4988, allocations: 100.6 kB / 1.509 GB, free: 4.641 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.499, allocations: 175.3 kB / 1.509 GB, free: 4.469 MB / 1.201 GB Notification: Performance of SimCode: time 7.12e-07/0.499, allocations: 0 / 1.509 GB, free: 4.469 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.5457, allocations: 15.25 MB / 1.524 GB, free: 5.578 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.35, allocations: 8 kB / 1.524 GB, free: 5.57 MB / 1.217 GB " [Timeout remaining time 289] (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.398966831999132]