Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.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.001784/0.001784, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00224/0.00224, allocations: 215.3 kB / 22.25 MB, free: 5.258 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.789 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.256/3.256, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.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.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.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.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T") [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.002151/0.002151, allocations: 66.16 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3979, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2213/0.6192, allocations: 171.8 MB / 1.493 GB, free: 5.402 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.6326, allocations: 9.249 MB / 1.502 GB, free: 12.13 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.6337, allocations: 47.56 kB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.6349, allocations: 412.9 kB / 1.503 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.6379, allocations: 1.03 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.6413, allocations: 1.323 MB / 1.505 GB, free: 9.316 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.6438, allocations: 1.694 MB / 1.507 GB, free: 7.609 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.6448, allocations: 0.5981 MB / 1.507 GB, free: 6.988 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.6491, allocations: 1.693 MB / 1.509 GB, free: 5.289 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.6499, allocations: 0.5094 MB / 1.509 GB, free: 4.777 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.6501, allocations: 64 kB / 1.51 GB, free: 4.715 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.653, allocations: 1.141 MB / 1.511 GB, free: 3.57 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.6534, allocations: 358.9 kB / 1.511 GB, free: 3.219 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.6539, allocations: 354.3 kB / 1.511 GB, free: 2.871 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.6561, allocations: 1.475 MB / 1.513 GB, free: 1.391 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6561, allocations: 4 kB / 1.513 GB, free: 1.387 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6561, allocations: 0 / 1.513 GB, free: 1.387 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.6561, allocations: 3.938 kB / 1.513 GB, free: 1.383 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001835/0.6579, allocations: 1.096 MB / 1.514 GB, free: 260 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.658, allocations: 8.031 kB / 1.514 GB, free: 252 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.6597, allocations: 295.1 kB / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.6608, allocations: 0.5049 MB / 1.515 GB, free: 15.42 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.6609, allocations: 58 kB / 1.515 GB, free: 15.36 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.661, allocations: 79.97 kB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6625, allocations: 0.8947 MB / 1.516 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.6625, allocations: 3.938 kB / 1.516 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.6626, allocations: 32 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/0.6626, allocations: 37.3 kB / 1.516 GB, free: 14.26 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.6637, allocations: 0.5904 MB / 1.516 GB, free: 13.67 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.6673, allocations: 2.745 MB / 1.519 GB, free: 10.83 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.6677, allocations: 215.7 kB / 1.519 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.668, allocations: 142.5 kB / 1.519 GB, free: 10.44 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006044/0.6686, allocations: 99.89 kB / 1.519 GB, free: 10.34 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.6686, allocations: 38.56 kB / 1.519 GB, free: 10.3 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.6686, allocations: 0 / 1.519 GB, free: 10.3 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.00123/0.6698, allocations: 419.5 kB / 1.52 GB, free: 9.883 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.6699, allocations: 114.7 kB / 1.52 GB, free: 9.746 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.6705, allocations: 425.8 kB / 1.52 GB, free: 9.32 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.6705, allocations: 29.7 kB / 1.52 GB, free: 9.285 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.6708, allocations: 427.9 kB / 1.521 GB, free: 8.863 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.6709, allocations: 71.38 kB / 1.521 GB, free: 8.793 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.671, allocations: 61.69 kB / 1.521 GB, free: 8.727 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.6712, allocations: 350.8 kB / 1.521 GB, free: 8.375 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.6715, allocations: 107.9 kB / 1.521 GB, free: 8.27 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.6719, allocations: 339.6 kB / 1.522 GB, free: 7.867 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.6724, allocations: 312.5 kB / 1.522 GB, free: 7.523 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6724, allocations: 0 / 1.522 GB, free: 7.523 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007139/0.6732, allocations: 374.5 kB / 1.522 GB, free: 7.152 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6732, allocations: 8.062 kB / 1.522 GB, free: 7.145 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6732, allocations: 4 kB / 1.522 GB, free: 7.141 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.6732, allocations: 4 kB / 1.522 GB, free: 7.137 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.6736, allocations: 59.91 kB / 1.522 GB, free: 7.078 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6736, allocations: 11.92 kB / 1.522 GB, free: 7.066 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.6739, allocations: 31.81 kB / 1.522 GB, free: 7.035 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.6739, allocations: 16.06 kB / 1.522 GB, free: 7.02 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.000341/0.6743, allocations: 229.7 kB / 1.523 GB, free: 6.785 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6744, allocations: 59.67 kB / 1.523 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.675, allocations: 286.9 kB / 1.523 GB, free: 6.438 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.675, allocations: 4 kB / 1.523 GB, free: 6.434 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.675, allocations: 3.938 kB / 1.523 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.675, allocations: 0 / 1.523 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.6771, allocations: 1.232 MB / 1.524 GB, free: 5.105 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6771, allocations: 4 kB / 1.524 GB, free: 5.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.6774, allocations: 44.44 kB / 1.524 GB, free: 5.059 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.6774, allocations: 8 kB / 1.524 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.6774, allocations: 12 kB / 1.524 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.6774, allocations: 7.938 kB / 1.524 GB, free: 5.031 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6774, allocations: 7.938 kB / 1.524 GB, free: 5.023 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.6781, allocations: 486.7 kB / 1.525 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.6783, allocations: 67.69 kB / 1.525 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.6783, allocations: 19.88 kB / 1.525 GB, free: 4.395 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.6786, allocations: 15.98 kB / 1.525 GB, free: 4.379 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.6787, allocations: 31.84 kB / 1.525 GB, free: 4.348 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.6787, allocations: 12 kB / 1.525 GB, free: 4.336 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003806/0.6791, allocations: 287.1 kB / 1.525 GB, free: 4.055 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6791, allocations: 0 / 1.525 GB, free: 4.055 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006685/0.6797, allocations: 207.2 kB / 1.525 GB, free: 3.852 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0003258/0.6801, allocations: 179.1 kB / 1.526 GB, free: 3.668 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005893/0.6806, allocations: 266.1 kB / 1.526 GB, free: 3.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6807, allocations: 0 / 1.526 GB, free: 3.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.6809, allocations: 133.4 kB / 1.526 GB, free: 3.281 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.682, allocations: 201.5 kB / 1.526 GB, free: 3.09 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.6839, allocations: 1.198 MB / 1.527 GB, free: 1.809 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.6844, allocations: 405 kB / 1.528 GB, free: 1.387 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000345/0.6847, allocations: 107.5 kB / 1.528 GB, free: 1.277 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.6848, allocations: 31.44 kB / 1.528 GB, free: 1.246 MB / 1.217 GB Notification: Performance of SimCode: time 3.51e-07/0.6848, allocations: 0 / 1.528 GB, free: 1.246 MB / 1.217 GB Notification: Performance of Templates: time 0.01686/0.7017, allocations: 8.694 MB / 1.536 GB, free: 8.766 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.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.669407425448298]