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.001725/0.001725, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002117/0.002117, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.471/1.471, 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 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 3.102/3.102, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [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.002001/0.002001, allocations: 71.91 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2865, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1917/0.4782, allocations: 155.4 MB / 1.479 GB, free: 5.047 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4886, allocations: 8.023 MB / 1.487 GB, free: 13 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.4894, allocations: 31.69 kB / 1.487 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.4902, allocations: 309.7 kB / 1.487 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007338/0.4909, allocations: 318.4 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.4919, allocations: 401.4 kB / 1.488 GB, free: 11.96 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.4932, allocations: 1.168 MB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.494, allocations: 439.1 kB / 1.489 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.4986, allocations: 2.09 MB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.4991, allocations: 366.4 kB / 1.492 GB, free: 7.895 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.4992, allocations: 40 kB / 1.492 GB, free: 7.855 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.4994, allocations: 79.95 kB / 1.492 GB, free: 7.777 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.4996, allocations: 275.2 kB / 1.492 GB, free: 7.508 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.4999, allocations: 230.9 kB / 1.492 GB, free: 7.281 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.5007, allocations: 0.6456 MB / 1.493 GB, free: 6.633 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5007, allocations: 0 / 1.493 GB, free: 6.633 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5007, allocations: 4 kB / 1.493 GB, free: 6.629 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5007, allocations: 0 / 1.493 GB, free: 6.629 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.001093/0.5018, allocations: 0.7636 MB / 1.494 GB, free: 5.832 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5018, allocations: 12.03 kB / 1.494 GB, free: 5.82 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.502, allocations: 71.52 kB / 1.494 GB, free: 5.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.5027, allocations: 375.3 kB / 1.494 GB, free: 5.359 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.5028, allocations: 49.23 kB / 1.494 GB, free: 5.312 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.5028, allocations: 56 kB / 1.494 GB, free: 5.258 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5039, allocations: 0.6988 MB / 1.495 GB, free: 4.477 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.5039, allocations: 4 kB / 1.495 GB, free: 4.473 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.504, allocations: 31.92 kB / 1.495 GB, free: 4.441 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.504, allocations: 27.92 kB / 1.495 GB, free: 4.414 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.5047, allocations: 375.4 kB / 1.495 GB, free: 4.047 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.5073, allocations: 2.869 MB / 1.498 GB, free: 1.055 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.5076, allocations: 218.1 kB / 1.498 GB, free: 0.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.5078, allocations: 128.5 kB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.5078, allocations: 4 kB / 1.498 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.5079, allocations: 46.5 kB / 1.498 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.5079, allocations: 3.938 kB / 1.498 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.000682/0.5085, allocations: 218 kB / 1.499 GB, free: 320 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.5087, allocations: 290.7 kB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.509, allocations: 272.6 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.509, allocations: 33.7 kB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.5093, allocations: 300.2 kB / 1.499 GB, free: 15.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.5093, allocations: 36.09 kB / 1.5 GB, free: 15.31 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.5094, allocations: 37.7 kB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5096, allocations: 334.8 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.5097, allocations: 35.97 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.5099, allocations: 233.5 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.5102, allocations: 121 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5102, allocations: 0 / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003413/0.5106, allocations: 165.3 kB / 1.5 GB, free: 14.31 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5106, allocations: 4 kB / 1.5 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5106, allocations: 4 kB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5106, allocations: 8.125 kB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.5108, allocations: 39.95 kB / 1.5 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5108, allocations: 3.938 kB / 1.5 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.511, allocations: 15.98 kB / 1.5 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.511, allocations: 8 kB / 1.5 GB, free: 14.23 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.0002217/0.5112, allocations: 197.8 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.5114, allocations: 27.81 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.5115, allocations: 32.97 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.5115, allocations: 11.94 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5115, allocations: 0 / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5115, allocations: 4 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.513, allocations: 1.203 MB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.513, allocations: 3.938 kB / 1.502 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.5132, allocations: 48.23 kB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5132, allocations: 4 kB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5132, allocations: 4 kB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.5132, allocations: 7.938 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5132, allocations: 0 / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.5136, allocations: 307.1 kB / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.5137, allocations: 35.8 kB / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5137, allocations: 8 kB / 1.502 GB, free: 12.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5139, allocations: 8 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.5139, allocations: 19.86 kB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.5139, allocations: 4 kB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001799/0.5141, allocations: 195.1 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5141, allocations: 0 / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004291/0.5145, allocations: 119.5 kB / 1.503 GB, free: 11.89 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.0001983/0.5147, allocations: 123.2 kB / 1.503 GB, free: 11.76 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.515, allocations: 103.8 kB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.515, allocations: 0 / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.5152, allocations: 67.83 kB / 1.503 GB, free: 11.59 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.5159, allocations: 92.88 kB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.5172, allocations: 0.8406 MB / 1.504 GB, free: 10.6 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5175, allocations: 308.7 kB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.5177, allocations: 65.95 kB / 1.504 GB, free: 10.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.5177, allocations: 19.38 kB / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/0.5177, allocations: 4 kB / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Performance of Templates: time 0.008714/0.5264, allocations: 3.899 MB / 1.508 GB, free: 6.391 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] 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: 8.529446583008394]