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.001729/0.001729, 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.00212/0.00212, allocations: 210.2 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.785 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.811/2.811, allocations: 476 MB / 0.7699 GB, free: 4.734 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.002153/0.002153, allocations: 64.16 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1993/0.5342, allocations: 155.3 MB / 1.434 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.5454, allocations: 8.012 MB / 1.442 GB, free: 8.492 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.5461, allocations: 35.69 kB / 1.442 GB, free: 8.457 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.5471, allocations: 309.7 kB / 1.442 GB, free: 8.152 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009953/0.5481, allocations: 326.4 kB / 1.443 GB, free: 7.832 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.5493, allocations: 387.2 kB / 1.443 GB, free: 7.457 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.551, allocations: 1.164 MB / 1.444 GB, free: 6.289 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.5518, allocations: 454.6 kB / 1.445 GB, free: 5.848 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.557, allocations: 2.086 MB / 1.447 GB, free: 3.754 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.5576, allocations: 366.3 kB / 1.447 GB, free: 3.395 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.5577, allocations: 40 kB / 1.447 GB, free: 3.355 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.558, allocations: 87.94 kB / 1.447 GB, free: 3.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.5583, allocations: 271.2 kB / 1.447 GB, free: 3.004 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.5587, allocations: 226.9 kB / 1.448 GB, free: 2.781 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008029/0.5595, allocations: 0.6418 MB / 1.448 GB, free: 2.137 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5595, allocations: 0 / 1.448 GB, free: 2.137 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5595, allocations: 3.938 kB / 1.448 GB, free: 2.133 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.5595, allocations: 4 kB / 1.448 GB, free: 2.129 MB / 1.139 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.00115/0.5606, allocations: 0.7581 MB / 1.449 GB, free: 1.336 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5607, allocations: 8.031 kB / 1.449 GB, free: 1.328 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.5608, allocations: 98.5 kB / 1.449 GB, free: 1.223 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.5609, allocations: 75.52 kB / 1.449 GB, free: 1.148 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.5617, allocations: 379.2 kB / 1.45 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.5618, allocations: 41.31 kB / 1.45 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.5618, allocations: 51.98 kB / 1.45 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.563, allocations: 0.7027 MB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.5631, allocations: 7.938 kB / 1.45 GB, free: 15.87 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.5631, allocations: 27.92 kB / 1.45 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.5632, allocations: 31.92 kB / 1.45 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.5639, allocations: 375.4 kB / 1.451 GB, free: 15.44 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.567, allocations: 3.06 MB / 1.454 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.5673, allocations: 226 kB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.5675, allocations: 124.6 kB / 1.454 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.5675, allocations: 4 kB / 1.454 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.5676, allocations: 46.5 kB / 1.454 GB, free: 11.72 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.5676, allocations: 336 / 1.454 GB, free: 11.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007561/0.5683, allocations: 257.7 kB / 1.454 GB, free: 11.46 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.5685, allocations: 290.7 kB / 1.455 GB, free: 11.11 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.5694, allocations: 0.6877 MB / 1.455 GB, free: 10.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.5694, allocations: 29.64 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5697, allocations: 272.2 kB / 1.456 GB, free: 10.11 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.5697, allocations: 39.67 kB / 1.456 GB, free: 10.07 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.5698, allocations: 30.11 kB / 1.456 GB, free: 10.04 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.57, allocations: 370.8 kB / 1.456 GB, free: 9.664 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5701, allocations: 39.95 kB / 1.456 GB, free: 9.625 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.5703, allocations: 225.6 kB / 1.456 GB, free: 9.355 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.5706, allocations: 129 kB / 1.456 GB, free: 9.211 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5706, allocations: 0 / 1.456 GB, free: 9.211 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000389/0.571, allocations: 189.1 kB / 1.457 GB, free: 9.02 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.571, allocations: 10.75 kB / 1.457 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.571, allocations: 4 kB / 1.457 GB, free: 9.008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.571, allocations: 7.922 kB / 1.457 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.5713, allocations: 40.22 kB / 1.457 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.5713, allocations: 4 kB / 1.457 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.5715, allocations: 63.5 kB / 1.457 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.5715, allocations: 7.984 kB / 1.457 GB, free: 8.887 MB / 1.154 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.5718, allocations: 201.7 kB / 1.457 GB, free: 8.68 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.572, allocations: 67.56 kB / 1.457 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.64e-05/0.5721, allocations: 60.25 kB / 1.457 GB, free: 8.547 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5721, allocations: 7.984 kB / 1.457 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5721, allocations: 8 kB / 1.457 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5721, allocations: 0 / 1.457 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5738, allocations: 1.233 MB / 1.458 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5738, allocations: 4 kB / 1.458 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.574, allocations: 44.17 kB / 1.458 GB, free: 7.168 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.5741, allocations: 8 kB / 1.458 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5741, allocations: 4 kB / 1.458 GB, free: 7.156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5741, allocations: 0 / 1.458 GB, free: 7.156 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5741, allocations: 4 kB / 1.458 GB, free: 7.152 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.5745, allocations: 342.6 kB / 1.459 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.5747, allocations: 79.55 kB / 1.459 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.5748, allocations: 4 kB / 1.459 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.575, allocations: 11.98 kB / 1.459 GB, free: 6.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.575, allocations: 19.92 kB / 1.459 GB, free: 6.66 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.575, allocations: 7.938 kB / 1.459 GB, free: 6.652 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000627/0.5757, allocations: 0.4951 MB / 1.459 GB, free: 6.16 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5757, allocations: 0 / 1.459 GB, free: 6.16 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004086/0.5761, allocations: 75.94 kB / 1.459 GB, free: 6.086 MB / 1.154 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.000887/0.577, allocations: 0.9037 MB / 1.46 GB, free: 5.129 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.5773, allocations: 103.8 kB / 1.46 GB, free: 5.027 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5773, allocations: 0 / 1.46 GB, free: 5.027 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.5774, allocations: 64.78 kB / 1.46 GB, free: 4.965 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.5788, allocations: 277.5 kB / 1.461 GB, free: 4.699 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/0.5854, allocations: 4.457 MB / 1.465 GB, free: 80 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.5858, allocations: 305.6 kB / 1.465 GB, free: 15.75 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000321/0.5861, allocations: 112.5 kB / 1.465 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5863, allocations: 167.4 kB / 1.466 GB, free: 15.48 MB / 1.17 GB Notification: Performance of SimCode: time 1.012e-06/0.5863, allocations: 0 / 1.466 GB, free: 15.48 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/0.634, allocations: 15.21 MB / 1.48 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.55, allocations: 9.641 kB / 1.48 GB, free: 0.6328 MB / 1.17 GB " [Timeout remaining time 287] (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.190197757910937]