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.001669/0.001669, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001364/0.001364, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.153/3.153, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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.00191/0.00191, allocations: 66.61 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3382, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1896/0.5278, allocations: 155.3 MB / 1.497 GB, free: 4.09 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.539, allocations: 7.994 MB / 1.505 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.5397, allocations: 31.69 kB / 1.505 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.5405, allocations: 309.7 kB / 1.505 GB, free: 11.74 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0007913/0.5413, allocations: 322.4 kB / 1.505 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.5424, allocations: 389.7 kB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.5438, allocations: 1.168 MB / 1.507 GB, free: 9.875 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.5445, allocations: 455 kB / 1.507 GB, free: 9.422 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00482/0.5493, allocations: 2.078 MB / 1.509 GB, free: 7.336 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.5499, allocations: 374.3 kB / 1.51 GB, free: 6.969 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.027e-05/0.5499, allocations: 40 kB / 1.51 GB, free: 6.93 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.5502, allocations: 87.94 kB / 1.51 GB, free: 6.844 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.5504, allocations: 267.3 kB / 1.51 GB, free: 6.582 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.5507, allocations: 230.8 kB / 1.51 GB, free: 6.355 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.5515, allocations: 0.6418 MB / 1.511 GB, free: 5.711 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5515, allocations: 0 / 1.511 GB, free: 5.711 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5515, allocations: 0 / 1.511 GB, free: 5.711 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5515, allocations: 0 / 1.511 GB, free: 5.711 MB / 1.201 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.001025/0.5525, allocations: 0.7658 MB / 1.512 GB, free: 4.91 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5525, allocations: 19.97 kB / 1.512 GB, free: 4.891 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.272e-05/0.5526, allocations: 13.31 kB / 1.512 GB, free: 4.879 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.5527, allocations: 102.4 kB / 1.512 GB, free: 4.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5528, allocations: 67.58 kB / 1.512 GB, free: 4.703 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.5535, allocations: 375.4 kB / 1.512 GB, free: 4.312 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.5535, allocations: 45.3 kB / 1.512 GB, free: 4.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.5536, allocations: 51.98 kB / 1.512 GB, free: 4.219 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5546, allocations: 0.7065 MB / 1.513 GB, free: 3.426 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5547, allocations: 8 kB / 1.513 GB, free: 3.418 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.5547, allocations: 27.92 kB / 1.513 GB, free: 3.391 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/0.5548, allocations: 35.92 kB / 1.513 GB, free: 3.355 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.5554, allocations: 371.4 kB / 1.513 GB, free: 2.992 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.5581, allocations: 3.071 MB / 1.516 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.5583, allocations: 218.1 kB / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.5585, allocations: 128.5 kB / 1.517 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5586, allocations: 4 kB / 1.517 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5586, allocations: 50.44 kB / 1.517 GB, free: 15.26 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.5586, allocations: 0 / 1.517 GB, free: 15.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007158/0.5593, allocations: 250 kB / 1.517 GB, free: 15.01 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.5595, allocations: 294.7 kB / 1.517 GB, free: 14.65 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.5603, allocations: 0.6839 MB / 1.518 GB, free: 13.96 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5603, allocations: 25.7 kB / 1.518 GB, free: 13.93 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.5605, allocations: 272.2 kB / 1.518 GB, free: 13.66 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5606, allocations: 35.64 kB / 1.518 GB, free: 13.63 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.5606, allocations: 33.7 kB / 1.518 GB, free: 13.59 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.5608, allocations: 362.8 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.5609, allocations: 44.11 kB / 1.519 GB, free: 13.18 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.5611, allocations: 229.6 kB / 1.519 GB, free: 12.91 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.5614, allocations: 125 kB / 1.519 GB, free: 12.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5614, allocations: 336 / 1.519 GB, free: 12.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000345/0.5617, allocations: 197.1 kB / 1.519 GB, free: 12.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5618, allocations: 10.12 kB / 1.519 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5618, allocations: 7.938 kB / 1.519 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5618, allocations: 0 / 1.519 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.562, allocations: 44.14 kB / 1.519 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.562, allocations: 3.938 kB / 1.519 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.5622, allocations: 63.69 kB / 1.519 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.5622, allocations: 4 kB / 1.519 GB, free: 12.44 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.0002134/0.5625, allocations: 205.7 kB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.5627, allocations: 67.56 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.701e-05/0.5628, allocations: 60.25 kB / 1.52 GB, free: 12.1 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5628, allocations: 4 kB / 1.52 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5628, allocations: 4 kB / 1.52 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5628, allocations: 4 kB / 1.52 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.5642, allocations: 1.237 MB / 1.521 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.5642, allocations: 4 kB / 1.521 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.5644, allocations: 39.95 kB / 1.521 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5644, allocations: 4 kB / 1.521 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5644, allocations: 8.281 kB / 1.521 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.5644, allocations: 7.938 kB / 1.521 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5644, allocations: 7.938 kB / 1.521 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.5648, allocations: 334.8 kB / 1.521 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.5649, allocations: 71.59 kB / 1.521 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.565, allocations: 4 kB / 1.521 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.5652, allocations: 11.98 kB / 1.521 GB, free: 10.24 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.5652, allocations: 23.86 kB / 1.521 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.5652, allocations: 4 kB / 1.521 GB, free: 10.21 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005591/0.5658, allocations: 0.4951 MB / 1.522 GB, free: 9.723 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5658, allocations: 0 / 1.522 GB, free: 9.723 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003885/0.5662, allocations: 83.89 kB / 1.522 GB, free: 9.641 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.0008073/0.567, allocations: 0.8873 MB / 1.523 GB, free: 8.695 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.5673, allocations: 111.8 kB / 1.523 GB, free: 8.586 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5673, allocations: 0 / 1.523 GB, free: 8.586 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5674, allocations: 52.84 kB / 1.523 GB, free: 8.535 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5687, allocations: 286.7 kB / 1.523 GB, free: 8.258 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.5742, allocations: 4.465 MB / 1.528 GB, free: 3.625 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.5746, allocations: 309.6 kB / 1.528 GB, free: 3.297 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.5748, allocations: 108.6 kB / 1.528 GB, free: 3.191 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.5751, allocations: 167.4 kB / 1.528 GB, free: 3.031 MB / 1.217 GB Notification: Performance of SimCode: time 6.22e-07/0.5751, allocations: 0 / 1.528 GB, free: 3.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.6138, allocations: 14.76 MB / 1.543 GB, free: 4.668 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.08, allocations: 3.984 kB / 1.543 GB, free: 4.664 MB / 1.232 GB " [Timeout remaining time 288] (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: 18.69956445589196]