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.00146/0.00146, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001591/0.001591, allocations: 212.6 kB / 23.01 MB, free: 5.125 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.967/2.967, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.001941/0.001941, allocations: 74.66 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 176.1 MB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2122/0.5442, allocations: 198.2 MB / 1.521 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.5564, allocations: 10.17 MB / 1.531 GB, free: 272 kB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.5574, allocations: 43.62 kB / 1.531 GB, free: 228 kB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009861/0.5584, allocations: 401.1 kB / 1.531 GB, free: 15.82 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.5611, allocations: 1.073 MB / 1.532 GB, free: 14.75 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.5642, allocations: 1.382 MB / 1.533 GB, free: 13.36 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.5663, allocations: 1.713 MB / 1.535 GB, free: 11.64 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009179/0.5673, allocations: 0.6059 MB / 1.536 GB, free: 11.02 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.571, allocations: 1.717 MB / 1.537 GB, free: 9.293 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.5717, allocations: 0.5485 MB / 1.538 GB, free: 8.742 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.5718, allocations: 64 kB / 1.538 GB, free: 8.68 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.5745, allocations: 1.516 MB / 1.539 GB, free: 7.16 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.5749, allocations: 351 kB / 1.54 GB, free: 6.816 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.5754, allocations: 441.7 kB / 1.54 GB, free: 6.383 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.5777, allocations: 1.51 MB / 1.542 GB, free: 4.867 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5777, allocations: 0 / 1.542 GB, free: 4.867 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5777, allocations: 4 kB / 1.542 GB, free: 4.863 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.5778, allocations: 0 / 1.542 GB, free: 4.863 MB / 1.232 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.001537/0.5793, allocations: 1.102 MB / 1.543 GB, free: 3.73 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5793, allocations: 8.031 kB / 1.543 GB, free: 3.723 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.581, allocations: 299.1 kB / 1.543 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009933/0.582, allocations: 0.501 MB / 1.544 GB, free: 2.898 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.582, allocations: 57.98 kB / 1.544 GB, free: 2.84 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.5821, allocations: 72 kB / 1.544 GB, free: 2.77 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5835, allocations: 0.9026 MB / 1.545 GB, free: 1.809 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5835, allocations: 3.938 kB / 1.545 GB, free: 1.805 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.5836, allocations: 28 kB / 1.545 GB, free: 1.777 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.5836, allocations: 45.23 kB / 1.545 GB, free: 1.734 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009871/0.5846, allocations: 0.5748 MB / 1.545 GB, free: 1.156 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.5882, allocations: 3.427 MB / 1.549 GB, free: 13.55 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.5886, allocations: 215.7 kB / 1.549 GB, free: 13.31 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.5888, allocations: 138.5 kB / 1.549 GB, free: 13.16 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.5894, allocations: 107.9 kB / 1.549 GB, free: 13.06 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5894, allocations: 34.56 kB / 1.549 GB, free: 13.02 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.5894, allocations: 11.88 kB / 1.549 GB, free: 13 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.001159/0.5906, allocations: 446.7 kB / 1.549 GB, free: 12.56 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.5907, allocations: 111 kB / 1.55 GB, free: 12.43 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5917, allocations: 0.8684 MB / 1.55 GB, free: 11.55 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.5917, allocations: 29.7 kB / 1.55 GB, free: 11.51 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.592, allocations: 388.2 kB / 1.551 GB, free: 11.12 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.5921, allocations: 83.31 kB / 1.551 GB, free: 11.04 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.5922, allocations: 57.66 kB / 1.551 GB, free: 10.98 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5923, allocations: 318 kB / 1.551 GB, free: 10.66 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.5925, allocations: 103.9 kB / 1.551 GB, free: 10.56 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.5928, allocations: 219.1 kB / 1.552 GB, free: 10.31 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.5933, allocations: 312.4 kB / 1.552 GB, free: 9.965 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.5933, allocations: 4 kB / 1.552 GB, free: 9.961 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006616/0.594, allocations: 398.2 kB / 1.552 GB, free: 9.566 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.594, allocations: 8 kB / 1.552 GB, free: 9.559 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.594, allocations: 4 kB / 1.552 GB, free: 9.555 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.594, allocations: 4 kB / 1.552 GB, free: 9.551 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.5943, allocations: 63.84 kB / 1.552 GB, free: 9.488 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5944, allocations: 7.984 kB / 1.552 GB, free: 9.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.5948, allocations: 79.59 kB / 1.552 GB, free: 9.402 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.5948, allocations: 24 kB / 1.552 GB, free: 9.379 MB / 1.248 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.0002579/0.595, allocations: 237.5 kB / 1.553 GB, free: 9.137 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5952, allocations: 83.48 kB / 1.553 GB, free: 9.055 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/0.5958, allocations: 312.7 kB / 1.553 GB, free: 8.742 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5958, allocations: 7.938 kB / 1.553 GB, free: 8.734 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5958, allocations: 0 / 1.553 GB, free: 8.734 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5958, allocations: 7.984 kB / 1.553 GB, free: 8.727 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.5978, allocations: 1.342 MB / 1.554 GB, free: 7.281 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5978, allocations: 4 kB / 1.554 GB, free: 7.277 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.598, allocations: 43.92 kB / 1.554 GB, free: 7.234 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.598, allocations: 8 kB / 1.554 GB, free: 7.227 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.598, allocations: 7.938 kB / 1.554 GB, free: 7.219 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.598, allocations: 15.92 kB / 1.554 GB, free: 7.203 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.598, allocations: 4 kB / 1.554 GB, free: 7.199 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.5986, allocations: 0.5189 MB / 1.555 GB, free: 6.613 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.5989, allocations: 119.4 kB / 1.555 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.5989, allocations: 8 kB / 1.555 GB, free: 6.488 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.5993, allocations: 19.92 kB / 1.555 GB, free: 6.469 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.5993, allocations: 23.91 kB / 1.555 GB, free: 6.445 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5993, allocations: 15.94 kB / 1.555 GB, free: 6.43 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007339/0.6001, allocations: 0.6161 MB / 1.556 GB, free: 5.82 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6001, allocations: 0 / 1.556 GB, free: 5.82 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005555/0.6006, allocations: 163.7 kB / 1.556 GB, free: 5.66 MB / 1.248 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.0002868/0.6009, allocations: 179 kB / 1.556 GB, free: 5.473 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.6015, allocations: 256.1 kB / 1.556 GB, free: 5.223 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6015, allocations: 4 kB / 1.556 GB, free: 5.219 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.6017, allocations: 123.7 kB / 1.556 GB, free: 5.098 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.6034, allocations: 411.8 kB / 1.557 GB, free: 4.699 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.6052, allocations: 1.328 MB / 1.558 GB, free: 3.277 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.6058, allocations: 0.9917 MB / 1.559 GB, free: 2.258 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6059, allocations: 51.44 kB / 1.559 GB, free: 2.211 MB / 1.248 GB Notification: Performance of SimCode: time 3.3e-07/0.6059, allocations: 3.938 kB / 1.559 GB, free: 2.207 MB / 1.248 GB Notification: Performance of Templates: time 0.01681/0.6227, allocations: 12.12 MB / 1.571 GB, free: 6.207 MB / 1.264 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: 12.652887455013115]