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.001271/0.001271, allocations: 114.7 kB / 17.13 MB, free: 6.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.001678/0.001678, allocations: 213 kB / 20.1 MB, free: 3.059 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.865/2.865, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.002083/0.002083, allocations: 67.91 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2493/1.281, allocations: 197.8 MB / 1.515 GB, free: 3.406 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01358/1.295, allocations: 10.11 MB / 1.525 GB, free: 9.266 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/1.296, allocations: 43.62 kB / 1.525 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/1.297, allocations: 401 kB / 1.525 GB, free: 8.828 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002948/1.3, allocations: 1.065 MB / 1.526 GB, free: 7.758 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/1.303, allocations: 1.318 MB / 1.528 GB, free: 6.438 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002408/1.306, allocations: 1.678 MB / 1.529 GB, free: 4.75 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.307, allocations: 0.6833 MB / 1.53 GB, free: 4.043 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/1.311, allocations: 1.693 MB / 1.532 GB, free: 2.344 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008657/1.312, allocations: 0.5446 MB / 1.532 GB, free: 1.797 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/1.312, allocations: 64 kB / 1.532 GB, free: 1.734 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/1.315, allocations: 1.481 MB / 1.534 GB, free: 256 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004703/1.316, allocations: 355 kB / 1.534 GB, free: 15.9 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005703/1.316, allocations: 441.6 kB / 1.534 GB, free: 15.47 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/1.319, allocations: 1.513 MB / 1.536 GB, free: 13.95 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.319, allocations: 4 kB / 1.536 GB, free: 13.95 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.063e-06/1.319, allocations: 4 kB / 1.536 GB, free: 13.95 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.319, allocations: 0 / 1.536 GB, free: 13.95 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.001964/1.321, allocations: 1.168 MB / 1.537 GB, free: 12.73 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.321, allocations: 11.98 kB / 1.537 GB, free: 12.71 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/1.323, allocations: 303.1 kB / 1.537 GB, free: 12.42 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/1.324, allocations: 0.5744 MB / 1.538 GB, free: 11.81 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/1.324, allocations: 54 kB / 1.538 GB, free: 11.75 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.324, allocations: 75.98 kB / 1.538 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.326, allocations: 0.8986 MB / 1.539 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.326, allocations: 0 / 1.539 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.326, allocations: 35.98 kB / 1.539 GB, free: 10.69 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/1.326, allocations: 45.3 kB / 1.539 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/1.327, allocations: 0.5748 MB / 1.54 GB, free: 10.07 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/1.331, allocations: 3.494 MB / 1.543 GB, free: 6.379 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/1.332, allocations: 215.7 kB / 1.543 GB, free: 6.141 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/1.332, allocations: 142.5 kB / 1.543 GB, free: 5.992 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000845/1.333, allocations: 485.4 kB / 1.544 GB, free: 5.426 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.333, allocations: 46.48 kB / 1.544 GB, free: 5.371 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/1.333, allocations: 0 / 1.544 GB, free: 5.371 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001308/1.334, allocations: 451.8 kB / 1.544 GB, free: 4.926 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/1.334, allocations: 114.7 kB / 1.544 GB, free: 4.789 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/1.336, allocations: 0.8683 MB / 1.545 GB, free: 3.906 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.336, allocations: 29.7 kB / 1.545 GB, free: 3.871 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/1.336, allocations: 384.2 kB / 1.546 GB, free: 3.492 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/1.336, allocations: 71.33 kB / 1.546 GB, free: 3.422 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.336, allocations: 73.7 kB / 1.546 GB, free: 3.344 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.336, allocations: 314 kB / 1.546 GB, free: 3.031 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/1.337, allocations: 99.92 kB / 1.546 GB, free: 2.934 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/1.337, allocations: 215.5 kB / 1.546 GB, free: 2.684 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/1.338, allocations: 308.9 kB / 1.547 GB, free: 2.344 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.338, allocations: 0 / 1.547 GB, free: 2.344 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007634/1.338, allocations: 404.7 kB / 1.547 GB, free: 1.941 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.338, allocations: 9.562 kB / 1.547 GB, free: 1.934 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.338, allocations: 0 / 1.547 GB, free: 1.934 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.338, allocations: 8.344 kB / 1.547 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/1.339, allocations: 67.84 kB / 1.547 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.339, allocations: 7.938 kB / 1.547 GB, free: 1.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/1.339, allocations: 79.34 kB / 1.547 GB, free: 1.773 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/1.339, allocations: 12 kB / 1.547 GB, free: 1.762 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.0003023/1.34, allocations: 234.2 kB / 1.547 GB, free: 1.523 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.34, allocations: 87.42 kB / 1.548 GB, free: 1.438 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/1.34, allocations: 316.8 kB / 1.548 GB, free: 1.121 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.34, allocations: 7.938 kB / 1.548 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.34, allocations: 3.984 kB / 1.548 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.34, allocations: 0 / 1.548 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/1.343, allocations: 1.373 MB / 1.549 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.343, allocations: 8 kB / 1.549 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.343, allocations: 47.91 kB / 1.549 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/1.343, allocations: 4 kB / 1.549 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.343, allocations: 15.94 kB / 1.549 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.343, allocations: 8.516 kB / 1.549 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.343, allocations: 8 kB / 1.549 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/1.344, allocations: 0.5113 MB / 1.55 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/1.344, allocations: 192.5 kB / 1.55 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/1.344, allocations: 12 kB / 1.55 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/1.344, allocations: 19.92 kB / 1.55 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/1.344, allocations: 23.92 kB / 1.55 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/1.344, allocations: 15.94 kB / 1.55 GB, free: 14.68 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000809/1.345, allocations: 0.6083 MB / 1.551 GB, free: 14.08 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.345, allocations: 0 / 1.551 GB, free: 14.08 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006019/1.346, allocations: 167.8 kB / 1.551 GB, free: 13.91 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.0003335/1.346, allocations: 175.1 kB / 1.551 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000667/1.347, allocations: 263.6 kB / 1.551 GB, free: 13.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.347, allocations: 4 kB / 1.551 GB, free: 13.47 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/1.347, allocations: 125.5 kB / 1.551 GB, free: 13.35 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.349, allocations: 425.4 kB / 1.552 GB, free: 12.94 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/1.351, allocations: 1.324 MB / 1.553 GB, free: 11.52 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/1.352, allocations: 0.9878 MB / 1.554 GB, free: 10.51 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.352, allocations: 51.44 kB / 1.554 GB, free: 10.46 MB / 1.232 GB Notification: Performance of SimCode: time 3.2e-07/1.352, allocations: 4 kB / 1.554 GB, free: 10.46 MB / 1.232 GB Notification: Performance of Templates: time 0.01973/1.372, allocations: 12.11 MB / 1.566 GB, free: 14.47 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/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: 14.387762583995936]