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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.917/2.917, allocations: 496 MB / 0.7835 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 68.27 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2929, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2179/0.5107, allocations: 195.2 MB / 1.498 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.524, allocations: 10.17 MB / 1.508 GB, free: 3.633 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.5253, allocations: 39.62 kB / 1.508 GB, free: 3.594 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.5265, allocations: 405 kB / 1.508 GB, free: 3.195 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.5294, allocations: 1.065 MB / 1.509 GB, free: 2.125 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.5328, allocations: 1.374 MB / 1.511 GB, free: 0.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.5354, allocations: 1.713 MB / 1.512 GB, free: 15.03 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5364, allocations: 0.6176 MB / 1.513 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.5407, allocations: 1.713 MB / 1.515 GB, free: 12.67 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007744/0.5414, allocations: 0.5484 MB / 1.515 GB, free: 12.12 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.5415, allocations: 64 kB / 1.515 GB, free: 12.05 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.5445, allocations: 1.512 MB / 1.517 GB, free: 10.54 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004367/0.5449, allocations: 355 kB / 1.517 GB, free: 10.19 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.5454, allocations: 441.7 kB / 1.517 GB, free: 9.758 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.5479, allocations: 1.503 MB / 1.519 GB, free: 8.25 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5479, allocations: 0 / 1.519 GB, free: 8.25 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5479, allocations: 4 kB / 1.519 GB, free: 8.246 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.5479, allocations: 0 / 1.519 GB, free: 8.246 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00163/0.5495, allocations: 1.1 MB / 1.52 GB, free: 7.113 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5495, allocations: 12.92 kB / 1.52 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.5512, allocations: 299.1 kB / 1.52 GB, free: 6.809 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.5522, allocations: 0.5049 MB / 1.521 GB, free: 6.277 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.5522, allocations: 57.98 kB / 1.521 GB, free: 6.219 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5524, allocations: 72 kB / 1.521 GB, free: 6.148 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.5537, allocations: 0.8987 MB / 1.522 GB, free: 5.191 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.5537, allocations: 3.938 kB / 1.522 GB, free: 5.188 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.5538, allocations: 32 kB / 1.522 GB, free: 5.156 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.5539, allocations: 37.3 kB / 1.522 GB, free: 5.121 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.5549, allocations: 0.5787 MB / 1.522 GB, free: 4.543 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.5585, allocations: 3.431 MB / 1.526 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.5589, allocations: 213 kB / 1.526 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.5591, allocations: 138.5 kB / 1.526 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/0.5597, allocations: 107.9 kB / 1.526 GB, free: 452 kB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.5597, allocations: 34.56 kB / 1.526 GB, free: 408 kB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.5597, allocations: 0 / 1.526 GB, free: 408 kB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001212/0.5609, allocations: 458.8 kB / 1.527 GB, free: 15.95 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.561, allocations: 110.8 kB / 1.527 GB, free: 15.81 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5621, allocations: 0.8725 MB / 1.528 GB, free: 14.93 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.5621, allocations: 25.7 kB / 1.528 GB, free: 14.9 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.5624, allocations: 396.2 kB / 1.528 GB, free: 14.51 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.5625, allocations: 75.33 kB / 1.528 GB, free: 14.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5626, allocations: 61.64 kB / 1.528 GB, free: 14.37 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5627, allocations: 318 kB / 1.528 GB, free: 14.05 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.5629, allocations: 99.91 kB / 1.529 GB, free: 13.95 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.5632, allocations: 223.4 kB / 1.529 GB, free: 13.7 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.5637, allocations: 304.9 kB / 1.529 GB, free: 13.36 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5637, allocations: 4 kB / 1.529 GB, free: 13.36 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006628/0.5644, allocations: 408.8 kB / 1.529 GB, free: 12.95 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5644, allocations: 9.875 kB / 1.529 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5644, allocations: 8.062 kB / 1.529 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5644, allocations: 7.984 kB / 1.53 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.5647, allocations: 55.86 kB / 1.53 GB, free: 12.87 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5647, allocations: 7.984 kB / 1.53 GB, free: 12.86 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.5651, allocations: 75.39 kB / 1.53 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.5652, allocations: 16 kB / 1.53 GB, free: 12.77 MB / 1.232 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.0002644/0.5654, allocations: 241.8 kB / 1.53 GB, free: 12.53 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.5656, allocations: 91.45 kB / 1.53 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.5662, allocations: 312.7 kB / 1.53 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5662, allocations: 7.938 kB / 1.53 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5662, allocations: 0 / 1.53 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5662, allocations: 7.984 kB / 1.53 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.5681, allocations: 1.334 MB / 1.532 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.5681, allocations: 4 kB / 1.532 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.5684, allocations: 47.95 kB / 1.532 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.5684, allocations: 8 kB / 1.532 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.5684, allocations: 7.938 kB / 1.532 GB, free: 10.6 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.5684, allocations: 15.92 kB / 1.532 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5684, allocations: 4 kB / 1.532 GB, free: 10.58 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.5691, allocations: 0.5175 MB / 1.532 GB, free: 9.996 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.5693, allocations: 115.4 kB / 1.532 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.5694, allocations: 12 kB / 1.532 GB, free: 9.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.5697, allocations: 19.92 kB / 1.532 GB, free: 9.852 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.5698, allocations: 27.91 kB / 1.532 GB, free: 9.824 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.5698, allocations: 11.94 kB / 1.532 GB, free: 9.812 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000777/0.5705, allocations: 0.6161 MB / 1.533 GB, free: 9.203 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5705, allocations: 0 / 1.533 GB, free: 9.203 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000556/0.5711, allocations: 163.8 kB / 1.533 GB, free: 9.043 MB / 1.232 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.0004315/0.5715, allocations: 204 kB / 1.533 GB, free: 8.84 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.5721, allocations: 267.2 kB / 1.534 GB, free: 8.582 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5721, allocations: 0 / 1.534 GB, free: 8.582 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.5724, allocations: 129.2 kB / 1.534 GB, free: 8.457 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.574, allocations: 415.3 kB / 1.534 GB, free: 8.055 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.5758, allocations: 1.258 MB / 1.535 GB, free: 6.715 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.5765, allocations: 1.003 MB / 1.536 GB, free: 5.684 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.5769, allocations: 162.2 kB / 1.536 GB, free: 5.523 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.577, allocations: 51.44 kB / 1.536 GB, free: 5.473 MB / 1.232 GB Notification: Performance of SimCode: time 4.1e-07/0.577, allocations: 0 / 1.536 GB, free: 5.473 MB / 1.232 GB Notification: Performance of Templates: time 0.02387/0.6009, allocations: 14 MB / 1.55 GB, free: 7.695 MB / 1.248 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: 8.665452388115227]