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.001371/0.001371, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001544/0.001544, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.818/2.818, allocations: 476 MB / 0.7707 GB, free: 4.859 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: 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.002122/0.002122, allocations: 72.08 kB / 1.118 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4139, allocations: 169.9 MB / 1.284 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2137/0.6276, allocations: 155.3 MB / 1.435 GB, free: 7.793 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.6398, allocations: 8.009 MB / 1.443 GB, free: 15.77 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.6407, allocations: 27.75 kB / 1.443 GB, free: 15.74 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.642, allocations: 309.7 kB / 1.444 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6433, allocations: 326.4 kB / 1.444 GB, free: 15.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.6447, allocations: 395.4 kB / 1.444 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.6465, allocations: 1.16 MB / 1.445 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009599/0.6475, allocations: 450.9 kB / 1.446 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00689/0.6543, allocations: 2.094 MB / 1.448 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.6553, allocations: 362.3 kB / 1.448 GB, free: 10.67 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.6554, allocations: 40 kB / 1.448 GB, free: 10.63 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.6558, allocations: 75.95 kB / 1.448 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.6562, allocations: 275.2 kB / 1.449 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.6567, allocations: 234.9 kB / 1.449 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.6579, allocations: 0.6379 MB / 1.449 GB, free: 9.414 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6579, allocations: 0 / 1.449 GB, free: 9.414 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6579, allocations: 7.938 kB / 1.449 GB, free: 9.406 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.144e-05/0.6579, allocations: 0 / 1.449 GB, free: 9.406 MB / 1.154 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.001749/0.6597, allocations: 0.7717 MB / 1.45 GB, free: 8.602 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6597, allocations: 8.031 kB / 1.45 GB, free: 8.594 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.6599, allocations: 75.52 kB / 1.45 GB, free: 8.52 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.661, allocations: 375.3 kB / 1.451 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.661, allocations: 37.31 kB / 1.451 GB, free: 8.094 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.6611, allocations: 59.98 kB / 1.451 GB, free: 8.035 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.6624, allocations: 0.7027 MB / 1.451 GB, free: 7.25 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.6624, allocations: 3.938 kB / 1.451 GB, free: 7.246 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.6624, allocations: 27.98 kB / 1.451 GB, free: 7.219 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/0.6625, allocations: 35.92 kB / 1.452 GB, free: 7.184 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.6632, allocations: 371.4 kB / 1.452 GB, free: 6.82 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.6663, allocations: 2.865 MB / 1.455 GB, free: 3.828 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.6666, allocations: 214.1 kB / 1.455 GB, free: 3.527 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.6668, allocations: 128.5 kB / 1.455 GB, free: 3.371 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.6668, allocations: 4 kB / 1.455 GB, free: 3.367 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.6669, allocations: 46.5 kB / 1.455 GB, free: 3.312 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.6669, allocations: 0 / 1.455 GB, free: 3.312 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007432/0.6676, allocations: 221.9 kB / 1.455 GB, free: 3.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.6678, allocations: 294.7 kB / 1.456 GB, free: 2.734 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.6681, allocations: 268.9 kB / 1.456 GB, free: 2.461 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.6681, allocations: 33.7 kB / 1.456 GB, free: 2.422 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.6684, allocations: 296.2 kB / 1.456 GB, free: 2.125 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.6684, allocations: 47.61 kB / 1.456 GB, free: 2.078 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.6685, allocations: 34.11 kB / 1.456 GB, free: 2.039 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6687, allocations: 338.8 kB / 1.457 GB, free: 1.699 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.6688, allocations: 31.97 kB / 1.457 GB, free: 1.668 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.6691, allocations: 229.5 kB / 1.457 GB, free: 1.395 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.6694, allocations: 129 kB / 1.457 GB, free: 1.25 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6694, allocations: 0 / 1.457 GB, free: 1.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003321/0.6697, allocations: 153.3 kB / 1.457 GB, free: 1.094 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6697, allocations: 8 kB / 1.457 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6697, allocations: 0 / 1.457 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.6698, allocations: 3.938 kB / 1.457 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.67, allocations: 52.08 kB / 1.457 GB, free: 1.031 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.67, allocations: 4.188 kB / 1.457 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.6701, allocations: 11.94 kB / 1.457 GB, free: 1.016 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.6702, allocations: 11.94 kB / 1.457 GB, free: 1.004 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.0002537/0.6704, allocations: 197.8 kB / 1.457 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.6706, allocations: 35.8 kB / 1.457 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.6707, allocations: 32.97 kB / 1.457 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6707, allocations: 11.94 kB / 1.457 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.6707, allocations: 4 kB / 1.457 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6707, allocations: 0 / 1.457 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.6723, allocations: 1.203 MB / 1.459 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.6723, allocations: 8.062 kB / 1.459 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.6725, allocations: 40.23 kB / 1.459 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.6725, allocations: 4 kB / 1.459 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6725, allocations: 4 kB / 1.459 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.6726, allocations: 11.92 kB / 1.459 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6726, allocations: 4 kB / 1.459 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.673, allocations: 299 kB / 1.459 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.6731, allocations: 35.8 kB / 1.459 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.6732, allocations: 4 kB / 1.459 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6733, allocations: 11.98 kB / 1.459 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.6734, allocations: 23.86 kB / 1.459 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.6734, allocations: 4 kB / 1.459 GB, free: 14.96 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002204/0.6736, allocations: 191.1 kB / 1.459 GB, free: 14.77 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6736, allocations: 0 / 1.459 GB, free: 14.77 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005126/0.6741, allocations: 123.4 kB / 1.459 GB, free: 14.65 MB / 1.17 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.0002721/0.6744, allocations: 119.7 kB / 1.459 GB, free: 14.53 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.6748, allocations: 111.7 kB / 1.46 GB, free: 14.42 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6748, allocations: 0 / 1.46 GB, free: 14.42 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.6749, allocations: 59.89 kB / 1.46 GB, free: 14.36 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.6756, allocations: 96.27 kB / 1.46 GB, free: 14.27 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.6771, allocations: 0.893 MB / 1.461 GB, free: 13.31 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.6774, allocations: 300.7 kB / 1.461 GB, free: 12.99 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.6774, allocations: 19.44 kB / 1.461 GB, free: 12.97 MB / 1.17 GB Notification: Performance of SimCode: time 5.31e-07/0.6774, allocations: 4 kB / 1.461 GB, free: 12.97 MB / 1.17 GB Notification: Performance of Templates: time 0.009106/0.6865, allocations: 5.185 MB / 1.466 GB, free: 7.809 MB / 1.17 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/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: 12.2982634822838]