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.001916/0.001916, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002243/0.002243, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.623/1.623, allocations: 230.6 MB / 256 MB, free: 7.797 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.878/2.878, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_11_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_11_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.002128/0.002128, allocations: 68.14 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2341/0.5559, allocations: 155.4 MB / 1.435 GB, free: 56 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.5742, allocations: 8.009 MB / 1.443 GB, free: 8.023 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.5756, allocations: 31.69 kB / 1.443 GB, free: 7.992 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.5772, allocations: 309.7 kB / 1.443 GB, free: 7.688 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.5788, allocations: 318.4 kB / 1.443 GB, free: 7.375 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.5807, allocations: 398.5 kB / 1.444 GB, free: 6.988 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.5833, allocations: 1.16 MB / 1.445 GB, free: 5.824 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5844, allocations: 435.1 kB / 1.445 GB, free: 5.395 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.5909, allocations: 2.09 MB / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008094/0.5917, allocations: 366.3 kB / 1.447 GB, free: 2.938 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.5918, allocations: 40 kB / 1.448 GB, free: 2.898 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.5922, allocations: 91.83 kB / 1.448 GB, free: 2.809 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.5926, allocations: 271.2 kB / 1.448 GB, free: 2.543 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.593, allocations: 230.9 kB / 1.448 GB, free: 2.316 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.5941, allocations: 0.6456 MB / 1.449 GB, free: 1.668 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5941, allocations: 0 / 1.449 GB, free: 1.668 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5941, allocations: 0 / 1.449 GB, free: 1.668 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.098e-05/0.5941, allocations: 0 / 1.449 GB, free: 1.668 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.001587/0.5957, allocations: 0.7621 MB / 1.449 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5957, allocations: 8.031 kB / 1.449 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.5959, allocations: 75.5 kB / 1.45 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009059/0.5968, allocations: 387.2 kB / 1.45 GB, free: 396 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.5969, allocations: 41.3 kB / 1.45 GB, free: 356 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.5969, allocations: 48 kB / 1.45 GB, free: 308 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5982, allocations: 0.7066 MB / 1.451 GB, free: 15.51 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5983, allocations: 3.938 kB / 1.451 GB, free: 15.51 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.5983, allocations: 23.98 kB / 1.451 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.5984, allocations: 35.92 kB / 1.451 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.5992, allocations: 383.3 kB / 1.451 GB, free: 15.07 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.6024, allocations: 2.858 MB / 1.454 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.6028, allocations: 218.2 kB / 1.454 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.603, allocations: 124.5 kB / 1.454 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.603, allocations: 8 kB / 1.454 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.6031, allocations: 50.48 kB / 1.454 GB, free: 11.57 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.6031, allocations: 0 / 1.454 GB, free: 11.57 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007164/0.6038, allocations: 222.2 kB / 1.455 GB, free: 11.34 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.604, allocations: 290.7 kB / 1.455 GB, free: 10.99 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.6043, allocations: 276.6 kB / 1.455 GB, free: 10.71 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.6043, allocations: 29.7 kB / 1.455 GB, free: 10.68 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.6046, allocations: 300.2 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.6046, allocations: 47.67 kB / 1.455 GB, free: 10.33 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.6047, allocations: 21.72 kB / 1.455 GB, free: 10.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.6049, allocations: 338.8 kB / 1.456 GB, free: 9.961 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.605, allocations: 35.95 kB / 1.456 GB, free: 9.926 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.6053, allocations: 225.6 kB / 1.456 GB, free: 9.656 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.6056, allocations: 129 kB / 1.456 GB, free: 9.512 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6056, allocations: 0 / 1.456 GB, free: 9.512 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003561/0.6059, allocations: 153.6 kB / 1.456 GB, free: 9.355 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.606, allocations: 4 kB / 1.456 GB, free: 9.352 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.606, allocations: 15.86 kB / 1.456 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.606, allocations: 3.938 kB / 1.456 GB, free: 9.332 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.6062, allocations: 39.97 kB / 1.456 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6062, allocations: 7.984 kB / 1.456 GB, free: 9.285 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.6064, allocations: 7.953 kB / 1.456 GB, free: 9.277 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.6064, allocations: 16.08 kB / 1.456 GB, free: 9.262 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.0002835/0.6067, allocations: 201.7 kB / 1.457 GB, free: 9.055 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.6069, allocations: 31.81 kB / 1.457 GB, free: 9.023 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.6069, allocations: 28.98 kB / 1.457 GB, free: 8.996 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.6069, allocations: 7.938 kB / 1.457 GB, free: 8.988 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.607, allocations: 7.984 kB / 1.457 GB, free: 8.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.607, allocations: 0 / 1.457 GB, free: 8.98 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.6086, allocations: 1.203 MB / 1.458 GB, free: 7.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.6086, allocations: 4 kB / 1.458 GB, free: 7.703 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.6088, allocations: 39.89 kB / 1.458 GB, free: 7.664 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6088, allocations: 4 kB / 1.458 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6088, allocations: 4 kB / 1.458 GB, free: 7.656 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6088, allocations: 4 kB / 1.458 GB, free: 7.652 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6088, allocations: 7.938 kB / 1.458 GB, free: 7.645 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.6093, allocations: 311.1 kB / 1.458 GB, free: 7.297 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.6093, allocations: 31.81 kB / 1.458 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.6094, allocations: 8.047 kB / 1.458 GB, free: 7.258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.6095, allocations: 12 kB / 1.458 GB, free: 7.246 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.6096, allocations: 15.92 kB / 1.458 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6096, allocations: 4 kB / 1.458 GB, free: 7.227 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002076/0.6098, allocations: 195.1 kB / 1.458 GB, free: 7.035 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6098, allocations: 4 kB / 1.458 GB, free: 7.031 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004998/0.6103, allocations: 119.5 kB / 1.459 GB, free: 6.914 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.0002506/0.6105, allocations: 123.6 kB / 1.459 GB, free: 6.785 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.6109, allocations: 103.8 kB / 1.459 GB, free: 6.684 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6109, allocations: 0 / 1.459 GB, free: 6.684 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.611, allocations: 68.52 kB / 1.459 GB, free: 6.617 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.6118, allocations: 103 kB / 1.459 GB, free: 6.523 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.6134, allocations: 0.829 MB / 1.46 GB, free: 5.633 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.6138, allocations: 308.7 kB / 1.46 GB, free: 5.309 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.6139, allocations: 49.91 kB / 1.46 GB, free: 5.258 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.614, allocations: 19.44 kB / 1.46 GB, free: 5.238 MB / 1.154 GB Notification: Performance of SimCode: time 8.51e-07/0.614, allocations: 0 / 1.46 GB, free: 5.238 MB / 1.154 GB Notification: Performance of Templates: time 0.009768/0.6237, allocations: 3.88 MB / 1.464 GB, free: 1.469 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.596341839060187]