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.001328/0.001328, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001732/0.001732, allocations: 219.5 kB / 23 MB, free: 4.914 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.286/3.286, allocations: 0.4892 GB / 0.7951 GB, free: 35.77 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.002067/0.002067, allocations: 71.39 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2376/0.6152, allocations: 171.8 MB / 1.494 GB, free: 5.426 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.6293, allocations: 9.239 MB / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.6304, allocations: 43.62 kB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.6317, allocations: 408.9 kB / 1.504 GB, free: 11.72 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.6348, allocations: 1.034 MB / 1.505 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/0.6384, allocations: 1.327 MB / 1.506 GB, free: 9.352 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.641, allocations: 1.69 MB / 1.507 GB, free: 7.652 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.6423, allocations: 0.5981 MB / 1.508 GB, free: 7.031 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.6468, allocations: 1.693 MB / 1.51 GB, free: 5.332 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.6478, allocations: 0.5172 MB / 1.51 GB, free: 4.812 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.6479, allocations: 60 kB / 1.51 GB, free: 4.754 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.6505, allocations: 1.145 MB / 1.511 GB, free: 3.605 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005256/0.651, allocations: 362.9 kB / 1.512 GB, free: 3.25 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.6518, allocations: 358.3 kB / 1.512 GB, free: 2.898 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.6546, allocations: 1.467 MB / 1.514 GB, free: 1.426 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6546, allocations: 0 / 1.514 GB, free: 1.426 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.895e-06/0.6546, allocations: 0 / 1.514 GB, free: 1.426 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.6547, allocations: 4 kB / 1.514 GB, free: 1.422 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.002583/0.6573, allocations: 1.1 MB / 1.515 GB, free: 296 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6573, allocations: 8.031 kB / 1.515 GB, free: 288 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.6592, allocations: 299.3 kB / 1.515 GB, free: 15.98 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6605, allocations: 0.5009 MB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.6606, allocations: 54 kB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6607, allocations: 83.92 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.6623, allocations: 0.8909 MB / 1.516 GB, free: 14.37 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.6623, allocations: 7.938 kB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.6624, allocations: 31.98 kB / 1.516 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/0.6625, allocations: 37.3 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.6636, allocations: 0.5748 MB / 1.517 GB, free: 13.72 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.6675, allocations: 2.757 MB / 1.52 GB, free: 10.87 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.6679, allocations: 215.7 kB / 1.52 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.6682, allocations: 142.5 kB / 1.52 GB, free: 10.48 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/0.6688, allocations: 107.9 kB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.6688, allocations: 30.56 kB / 1.52 GB, free: 10.34 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.6688, allocations: 8 kB / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001227/0.6701, allocations: 415.4 kB / 1.521 GB, free: 9.918 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.6701, allocations: 110.8 kB / 1.521 GB, free: 9.785 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.6707, allocations: 430.1 kB / 1.521 GB, free: 9.355 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.6708, allocations: 29.7 kB / 1.521 GB, free: 9.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.6711, allocations: 427.9 kB / 1.522 GB, free: 8.898 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.6712, allocations: 71.39 kB / 1.522 GB, free: 8.828 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.6714, allocations: 61.69 kB / 1.522 GB, free: 8.762 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6715, allocations: 350.8 kB / 1.522 GB, free: 8.41 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.6718, allocations: 99.92 kB / 1.522 GB, free: 8.312 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.6722, allocations: 343.5 kB / 1.522 GB, free: 7.906 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.6728, allocations: 304.3 kB / 1.523 GB, free: 7.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.6728, allocations: 7.938 kB / 1.523 GB, free: 7.562 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007338/0.6735, allocations: 374 kB / 1.523 GB, free: 7.191 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6735, allocations: 8 kB / 1.523 GB, free: 7.184 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6735, allocations: 352 / 1.523 GB, free: 7.184 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.6736, allocations: 8 kB / 1.523 GB, free: 7.176 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.6739, allocations: 59.91 kB / 1.523 GB, free: 7.117 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.6739, allocations: 11.92 kB / 1.523 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.6743, allocations: 35.81 kB / 1.523 GB, free: 7.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.6743, allocations: 12 kB / 1.523 GB, free: 7.059 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.0003392/0.6746, allocations: 229.7 kB / 1.523 GB, free: 6.824 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6748, allocations: 51.67 kB / 1.523 GB, free: 6.773 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.6754, allocations: 293.3 kB / 1.524 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6754, allocations: 7.938 kB / 1.524 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6754, allocations: 0 / 1.524 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6754, allocations: 0 / 1.524 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.6776, allocations: 1.232 MB / 1.525 GB, free: 5.145 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6776, allocations: 4 kB / 1.525 GB, free: 5.141 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6778, allocations: 39.92 kB / 1.525 GB, free: 5.102 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.6778, allocations: 11.98 kB / 1.525 GB, free: 5.09 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.6779, allocations: 12.47 kB / 1.525 GB, free: 5.078 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.6779, allocations: 16 kB / 1.525 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.6779, allocations: 11.94 kB / 1.525 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.6786, allocations: 490.3 kB / 1.526 GB, free: 4.504 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.6787, allocations: 63.69 kB / 1.526 GB, free: 4.441 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.6788, allocations: 11.94 kB / 1.526 GB, free: 4.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.6791, allocations: 15.98 kB / 1.526 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.6791, allocations: 31.91 kB / 1.526 GB, free: 4.383 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.6792, allocations: 12 kB / 1.526 GB, free: 4.371 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003943/0.6796, allocations: 283.1 kB / 1.526 GB, free: 4.094 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6796, allocations: 3.938 kB / 1.526 GB, free: 4.09 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006723/0.6802, allocations: 207.2 kB / 1.526 GB, free: 3.887 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.0003287/0.6806, allocations: 175.1 kB / 1.526 GB, free: 3.707 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.6811, allocations: 269 kB / 1.527 GB, free: 3.445 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6811, allocations: 0 / 1.527 GB, free: 3.445 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.6814, allocations: 125.2 kB / 1.527 GB, free: 3.324 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6824, allocations: 207.4 kB / 1.527 GB, free: 3.129 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.6845, allocations: 1.262 MB / 1.528 GB, free: 1.773 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.6849, allocations: 397.1 kB / 1.528 GB, free: 1.359 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6851, allocations: 31.44 kB / 1.528 GB, free: 1.332 MB / 1.217 GB Notification: Performance of SimCode: time 2.9e-07/0.6851, allocations: 0 / 1.528 GB, free: 1.332 MB / 1.217 GB Notification: Performance of Templates: time 0.01625/0.7013, allocations: 9.034 MB / 1.537 GB, free: 8.355 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/jenkins1/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: 13.199690837878734]