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.001588/0.001588, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001974/0.001974, allocations: 215.4 kB / 23 MB, free: 4.965 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.002014/0.002014, allocations: 69.8 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 176.1 MB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1927/0.512, allocations: 155.4 MB / 1.479 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.5226, allocations: 8.015 MB / 1.487 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.5232, allocations: 27.75 kB / 1.487 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.5239, allocations: 313.7 kB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.5247, allocations: 318.4 kB / 1.487 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.5257, allocations: 389.1 kB / 1.488 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.527, allocations: 1.176 MB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.5277, allocations: 447 kB / 1.489 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.5324, allocations: 2.09 MB / 1.491 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.5329, allocations: 370.3 kB / 1.492 GB, free: 8.023 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.5329, allocations: 40 kB / 1.492 GB, free: 7.984 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.5332, allocations: 83.95 kB / 1.492 GB, free: 7.902 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.5334, allocations: 263.2 kB / 1.492 GB, free: 7.645 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.5337, allocations: 238.9 kB / 1.492 GB, free: 7.41 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008062/0.5345, allocations: 0.6417 MB / 1.493 GB, free: 6.766 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5345, allocations: 0 / 1.493 GB, free: 6.766 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.367e-06/0.5345, allocations: 3.984 kB / 1.493 GB, free: 6.762 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.5345, allocations: 0 / 1.493 GB, free: 6.762 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.001129/0.5357, allocations: 0.7677 MB / 1.494 GB, free: 5.961 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5357, allocations: 12.03 kB / 1.494 GB, free: 5.949 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.5358, allocations: 75.5 kB / 1.494 GB, free: 5.875 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.5366, allocations: 371.4 kB / 1.494 GB, free: 5.488 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.5366, allocations: 45.31 kB / 1.494 GB, free: 5.445 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.5367, allocations: 51.98 kB / 1.494 GB, free: 5.395 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.5378, allocations: 0.7105 MB / 1.495 GB, free: 4.602 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5378, allocations: 0 / 1.495 GB, free: 4.602 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.5379, allocations: 20 kB / 1.495 GB, free: 4.582 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.5379, allocations: 39.86 kB / 1.495 GB, free: 4.543 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.5386, allocations: 373.1 kB / 1.495 GB, free: 4.18 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.5412, allocations: 2.873 MB / 1.498 GB, free: 1.184 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.5415, allocations: 214.1 kB / 1.498 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.5417, allocations: 124.6 kB / 1.498 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5417, allocations: 11.94 kB / 1.498 GB, free: 0.7188 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.5418, allocations: 42.5 kB / 1.498 GB, free: 0.668 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 3.838e-06/0.5418, allocations: 3.984 kB / 1.498 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.000685/0.5424, allocations: 218.2 kB / 1.499 GB, free: 456 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.5426, allocations: 298.7 kB / 1.499 GB, free: 88 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.5429, allocations: 268.6 kB / 1.499 GB, free: 15.81 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.5429, allocations: 25.7 kB / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5431, allocations: 300.2 kB / 1.499 GB, free: 15.48 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.5432, allocations: 39.69 kB / 1.5 GB, free: 15.44 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.5432, allocations: 29.7 kB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5434, allocations: 338.8 kB / 1.5 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5435, allocations: 36.16 kB / 1.5 GB, free: 15.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.5438, allocations: 225.6 kB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.544, allocations: 125.3 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.544, allocations: 4 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003262/0.5444, allocations: 161.2 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5444, allocations: 7.938 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5444, allocations: 0 / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5444, allocations: 4.188 kB / 1.5 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.5446, allocations: 52.08 kB / 1.5 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5446, allocations: 3.938 kB / 1.5 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.5448, allocations: 11.98 kB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.5448, allocations: 8 kB / 1.5 GB, free: 14.37 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.000216/0.545, allocations: 205.7 kB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.5452, allocations: 27.81 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.5453, allocations: 32.98 kB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5453, allocations: 3.938 kB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5453, allocations: 4 kB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.5453, allocations: 35.78 kB / 1.501 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.5454, allocations: 8 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.5458, allocations: 7.984 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5458, allocations: 19.92 kB / 1.501 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007443/0.5466, allocations: 0.9201 MB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006853/0.5473, allocations: 1 MB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001541/0.5474, allocations: 60.11 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001802/0.5476, allocations: 191.1 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of Backend: time 3.7e-07/0.5476, allocations: 0 / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.5489, allocations: 148.6 kB / 1.503 GB, free: 11.67 MB / 1.201 GB Notification: Performance of SimCode: time 0.001771/0.5506, allocations: 1.293 MB / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of Templates: time 0.009168/0.5598, allocations: 4.113 MB / 1.508 GB, free: 6.309 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 -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: 9.058305100996222]