Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001445/0.001445, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.001532/0.001532, allocations: 171.3 kB / 22.46 MB, free: 5.355 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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 2.943/2.943, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_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_latest_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_latest_Buildings.Fluid.Sources.Examples.PropertySource_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 1 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.134e-05, allocations: 6.281 kB / 1 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7672/0.7672, allocations: 171.5 MB / 1.168 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.7781, allocations: 9.189 MB / 1.177 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.7797, allocations: 40.56 kB / 1.177 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.7811, allocations: 415 kB / 1.177 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.7847, allocations: 1.052 MB / 1.178 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.7885, allocations: 1.382 MB / 1.179 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.7912, allocations: 1.625 MB / 1.181 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009531/0.7921, allocations: 0.5542 MB / 1.182 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.7966, allocations: 1.896 MB / 1.183 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.7974, allocations: 469.8 kB / 1.184 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.7975, allocations: 63.12 kB / 1.184 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.8004, allocations: 1.158 MB / 1.185 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.8009, allocations: 370.5 kB / 1.185 GB, free: 11.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.8014, allocations: 294.7 kB / 1.186 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.804, allocations: 1.508 MB / 1.187 GB, free: 10.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.804, allocations: 5.438 kB / 1.187 GB, free: 10.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.213e-06/0.804, allocations: 0 / 1.187 GB, free: 10.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.804, allocations: 1.125 kB / 1.187 GB, free: 10.64 MB / 1.014 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.001702/0.8057, allocations: 1.075 MB / 1.188 GB, free: 9.895 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8057, allocations: 10.16 kB / 1.188 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.8076, allocations: 289.7 kB / 1.188 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8086, allocations: 0.4933 MB / 1.189 GB, free: 9.516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.8086, allocations: 65.56 kB / 1.189 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.8087, allocations: 73.05 kB / 1.189 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.8102, allocations: 0.8945 MB / 1.19 GB, free: 9.023 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.8102, allocations: 5.312 kB / 1.19 GB, free: 9.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.8103, allocations: 30.45 kB / 1.19 GB, free: 9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.8104, allocations: 39.42 kB / 1.19 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.8114, allocations: 0.5765 MB / 1.191 GB, free: 8.812 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.8148, allocations: 2.741 MB / 1.193 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.8152, allocations: 212.6 kB / 1.193 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.8155, allocations: 141.9 kB / 1.194 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.8161, allocations: 107.8 kB / 1.194 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.8161, allocations: 37.19 kB / 1.194 GB, free: 6.504 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.8161, allocations: 0 / 1.194 GB, free: 6.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001239/0.8174, allocations: 414.7 kB / 1.194 GB, free: 6.367 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.8174, allocations: 113.7 kB / 1.194 GB, free: 6.234 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.8179, allocations: 419.2 kB / 1.195 GB, free: 6.035 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.818, allocations: 31.55 kB / 1.195 GB, free: 6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.8183, allocations: 419.7 kB / 1.195 GB, free: 5.672 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.8184, allocations: 79.42 kB / 1.195 GB, free: 5.609 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.8185, allocations: 54.78 kB / 1.195 GB, free: 5.578 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.8187, allocations: 360.7 kB / 1.196 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.8189, allocations: 97.34 kB / 1.196 GB, free: 5.219 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.8193, allocations: 345 kB / 1.196 GB, free: 4.914 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.8198, allocations: 312.4 kB / 1.196 GB, free: 4.691 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8198, allocations: 0 / 1.196 GB, free: 4.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006584/0.8204, allocations: 373.5 kB / 1.197 GB, free: 4.496 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.8205, allocations: 9.156 kB / 1.197 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.8205, allocations: 7.656 kB / 1.197 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.8205, allocations: 6.094 kB / 1.197 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.8208, allocations: 55.84 kB / 1.197 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8208, allocations: 5.281 kB / 1.197 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.8211, allocations: 36.73 kB / 1.197 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.8212, allocations: 19.61 kB / 1.197 GB, free: 4.445 MB / 1.014 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.0002943/0.8215, allocations: 229.2 kB / 1.197 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.8216, allocations: 46.34 kB / 1.197 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.8222, allocations: 293.2 kB / 1.197 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8222, allocations: 3.844 kB / 1.197 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8222, allocations: 0 / 1.197 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.8222, allocations: 5.078 kB / 1.197 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.8242, allocations: 1.234 MB / 1.199 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8242, allocations: 2.875 kB / 1.199 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.8245, allocations: 46.38 kB / 1.199 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.8245, allocations: 5.469 kB / 1.199 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.8245, allocations: 16.58 kB / 1.199 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.8245, allocations: 6.781 kB / 1.199 GB, free: 3.098 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8245, allocations: 9.094 kB / 1.199 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.8251, allocations: 482.8 kB / 1.199 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.8253, allocations: 65.94 kB / 1.199 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.8253, allocations: 7.969 kB / 1.199 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.8256, allocations: 19.33 kB / 1.199 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.8257, allocations: 34.97 kB / 1.199 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.8257, allocations: 10.62 kB / 1.199 GB, free: 2.621 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003189/0.826, allocations: 286.8 kB / 1.199 GB, free: 2.441 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.826, allocations: 0 / 1.199 GB, free: 2.441 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00063/0.8266, allocations: 202.1 kB / 1.2 GB, free: 2.379 MB / 1.014 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.0003524/0.827, allocations: 175.9 kB / 1.2 GB, free: 2.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.8275, allocations: 259.7 kB / 1.2 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8275, allocations: 0 / 1.2 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.8278, allocations: 128.2 kB / 1.2 GB, free: 2.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.8288, allocations: 194.3 kB / 1.2 GB, free: 1.977 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.8304, allocations: 1.171 MB / 1.202 GB, free: 1.164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.8309, allocations: 400.1 kB / 1.202 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.8311, allocations: 97.25 kB / 1.202 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.8313, allocations: 41.03 kB / 1.202 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of SimCode: time 4.3e-07/0.8313, allocations: 0 / 1.202 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of Templates: time 0.0138/0.845, allocations: 7.171 MB / 1.209 GB, free: 13.25 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.23607750236988]