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.001766/0.001766, 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.002287/0.002287, allocations: 214.7 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.392/3.392, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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: 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_latest_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_latest_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.002111/0.002111, allocations: 65 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4078, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.214/0.6218, allocations: 155.4 MB / 1.516 GB, free: 1.652 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.634, allocations: 8.031 MB / 1.524 GB, free: 9.602 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008465/0.6348, allocations: 27.75 kB / 1.524 GB, free: 9.574 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6359, allocations: 309.7 kB / 1.525 GB, free: 9.27 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.6369, allocations: 318.4 kB / 1.525 GB, free: 8.957 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.6382, allocations: 385 kB / 1.525 GB, free: 8.586 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.64, allocations: 1.152 MB / 1.526 GB, free: 7.43 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009463/0.6409, allocations: 459 kB / 1.527 GB, free: 6.973 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.6462, allocations: 2.082 MB / 1.529 GB, free: 4.883 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.6468, allocations: 346.4 kB / 1.529 GB, free: 4.543 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.6469, allocations: 43.94 kB / 1.529 GB, free: 4.5 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.6472, allocations: 91.88 kB / 1.529 GB, free: 4.41 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.6475, allocations: 259.3 kB / 1.529 GB, free: 4.156 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.6478, allocations: 230.9 kB / 1.53 GB, free: 3.93 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0008156/0.6486, allocations: 0.6417 MB / 1.53 GB, free: 3.285 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6486, allocations: 4 kB / 1.53 GB, free: 3.281 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6486, allocations: 0 / 1.53 GB, free: 3.281 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.6486, allocations: 0 / 1.53 GB, free: 3.281 MB / 1.217 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.001136/0.6497, allocations: 0.762 MB / 1.531 GB, free: 2.484 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.6498, allocations: 8.031 kB / 1.531 GB, free: 2.477 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.6499, allocations: 75.52 kB / 1.531 GB, free: 2.402 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.6507, allocations: 383.2 kB / 1.532 GB, free: 2 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.6508, allocations: 41.31 kB / 1.532 GB, free: 1.961 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.6508, allocations: 52 kB / 1.532 GB, free: 1.91 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.6519, allocations: 0.7027 MB / 1.532 GB, free: 1.125 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.652, allocations: 8 kB / 1.532 GB, free: 1.117 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.652, allocations: 20 kB / 1.532 GB, free: 1.098 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.6521, allocations: 39.86 kB / 1.532 GB, free: 1.059 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.6528, allocations: 367.4 kB / 1.533 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.6556, allocations: 2.881 MB / 1.536 GB, free: 13.7 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.6559, allocations: 214.1 kB / 1.536 GB, free: 13.39 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.6562, allocations: 124.6 kB / 1.536 GB, free: 13.24 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.6562, allocations: 7.938 kB / 1.536 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.6562, allocations: 46.5 kB / 1.536 GB, free: 13.18 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.6562, allocations: 0 / 1.536 GB, free: 13.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0007025/0.6569, allocations: 222.2 kB / 1.536 GB, free: 12.96 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.6571, allocations: 290.7 kB / 1.536 GB, free: 12.61 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.6574, allocations: 272.6 kB / 1.537 GB, free: 12.33 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.6574, allocations: 29.7 kB / 1.537 GB, free: 12.3 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.6577, allocations: 300.2 kB / 1.537 GB, free: 12 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.6577, allocations: 35.69 kB / 1.537 GB, free: 11.96 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.6578, allocations: 33.7 kB / 1.537 GB, free: 11.92 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.658, allocations: 338.8 kB / 1.537 GB, free: 11.58 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.6581, allocations: 40.12 kB / 1.537 GB, free: 11.54 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.6584, allocations: 221.6 kB / 1.538 GB, free: 11.28 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.6586, allocations: 125 kB / 1.538 GB, free: 11.14 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6586, allocations: 4 kB / 1.538 GB, free: 11.13 MB / 1.232 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000327/0.659, allocations: 161.3 kB / 1.538 GB, free: 10.97 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.659, allocations: 4 kB / 1.538 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.659, allocations: 0 / 1.538 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.659, allocations: 7.938 kB / 1.538 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.6593, allocations: 44.14 kB / 1.538 GB, free: 10.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6593, allocations: 0 / 1.538 GB, free: 10.91 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.6594, allocations: 19.94 kB / 1.538 GB, free: 10.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6594, allocations: 8 kB / 1.538 GB, free: 10.89 MB / 1.232 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.0002597/0.6597, allocations: 201.7 kB / 1.538 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.6599, allocations: 27.84 kB / 1.538 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.6599, allocations: 32.97 kB / 1.538 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6599, allocations: 8.156 kB / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6599, allocations: 0 / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6599, allocations: 11.94 kB / 1.538 GB, free: 10.6 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.6615, allocations: 1.199 MB / 1.539 GB, free: 9.332 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6615, allocations: 0 / 1.539 GB, free: 9.332 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.6617, allocations: 47.89 kB / 1.539 GB, free: 9.285 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.6617, allocations: 4 kB / 1.539 GB, free: 9.281 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6617, allocations: 8.344 kB / 1.539 GB, free: 9.273 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.6617, allocations: 7.984 kB / 1.539 GB, free: 9.266 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6617, allocations: 7.938 kB / 1.539 GB, free: 9.258 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.6621, allocations: 302.9 kB / 1.54 GB, free: 8.918 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.6622, allocations: 31.84 kB / 1.54 GB, free: 8.887 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.6622, allocations: 4 kB / 1.54 GB, free: 8.883 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6623, allocations: 11.98 kB / 1.54 GB, free: 8.871 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.6624, allocations: 20.2 kB / 1.54 GB, free: 8.852 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6624, allocations: 4 kB / 1.54 GB, free: 8.848 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0001957/0.6626, allocations: 191.1 kB / 1.54 GB, free: 8.664 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6626, allocations: 7.875 kB / 1.54 GB, free: 8.656 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004446/0.663, allocations: 123.4 kB / 1.54 GB, free: 8.535 MB / 1.232 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.000209/0.6633, allocations: 123.1 kB / 1.54 GB, free: 8.406 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.6636, allocations: 107.9 kB / 1.54 GB, free: 8.301 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6636, allocations: 0 / 1.54 GB, free: 8.301 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6637, allocations: 63.83 kB / 1.54 GB, free: 8.238 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.6644, allocations: 91.05 kB / 1.541 GB, free: 8.152 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.6658, allocations: 0.8892 MB / 1.541 GB, free: 7.195 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6662, allocations: 304.7 kB / 1.542 GB, free: 6.875 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.6662, allocations: 23.38 kB / 1.542 GB, free: 6.855 MB / 1.232 GB Notification: Performance of SimCode: time 4.01e-07/0.6662, allocations: 0 / 1.542 GB, free: 6.855 MB / 1.232 GB Notification: Performance of Templates: time 0.008608/0.6748, allocations: 5.183 MB / 1.547 GB, free: 1.695 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 800] 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: 12.889539887662977]