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.001695/0.001695, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002105/0.002105, allocations: 211.7 kB / 23.04 MB, free: 4.863 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002068/0.002068, allocations: 68.98 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2207/0.5662, allocations: 171.8 MB / 1.495 GB, free: 4.566 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.5801, allocations: 9.251 MB / 1.504 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.5811, allocations: 43.62 kB / 1.504 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.5822, allocations: 405 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.5852, allocations: 1.034 MB / 1.505 GB, free: 9.812 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.5887, allocations: 1.326 MB / 1.507 GB, free: 8.484 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002598/0.5913, allocations: 1.698 MB / 1.508 GB, free: 6.777 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.5923, allocations: 0.6019 MB / 1.509 GB, free: 6.152 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.5964, allocations: 1.685 MB / 1.511 GB, free: 4.461 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.5972, allocations: 0.5172 MB / 1.511 GB, free: 3.941 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.5973, allocations: 64 kB / 1.511 GB, free: 3.879 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.5997, allocations: 1.145 MB / 1.512 GB, free: 2.73 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.6002, allocations: 359 kB / 1.513 GB, free: 2.379 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.6006, allocations: 358.3 kB / 1.513 GB, free: 2.027 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.6031, allocations: 1.467 MB / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6031, allocations: 0 / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6031, allocations: 0 / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.6031, allocations: 0 / 1.514 GB, free: 0.5547 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.001858/0.605, allocations: 1.096 MB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6051, allocations: 12.03 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.6069, allocations: 295.1 kB / 1.516 GB, free: 15.12 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.608, allocations: 0.5088 MB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.6081, allocations: 58 kB / 1.516 GB, free: 14.53 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.6082, allocations: 71.98 kB / 1.516 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.6096, allocations: 0.9025 MB / 1.517 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.6096, allocations: 0 / 1.517 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.6097, allocations: 31.98 kB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/0.6098, allocations: 45.3 kB / 1.517 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.6108, allocations: 0.5748 MB / 1.518 GB, free: 12.84 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.6142, allocations: 2.753 MB / 1.521 GB, free: 9.996 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.6146, allocations: 215.7 kB / 1.521 GB, free: 9.758 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.6149, allocations: 138.5 kB / 1.521 GB, free: 9.613 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000607/0.6155, allocations: 107.9 kB / 1.521 GB, free: 9.508 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.6155, allocations: 42.5 kB / 1.521 GB, free: 9.457 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.6155, allocations: 0 / 1.521 GB, free: 9.457 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.00121/0.6167, allocations: 419.3 kB / 1.521 GB, free: 9.043 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.6168, allocations: 106.8 kB / 1.522 GB, free: 8.914 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.6174, allocations: 429.7 kB / 1.522 GB, free: 8.484 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.6174, allocations: 29.7 kB / 1.522 GB, free: 8.449 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.6177, allocations: 431.9 kB / 1.522 GB, free: 8.023 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.6178, allocations: 67.39 kB / 1.522 GB, free: 7.957 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.6179, allocations: 61.69 kB / 1.523 GB, free: 7.891 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6181, allocations: 354.9 kB / 1.523 GB, free: 7.535 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.6183, allocations: 107.9 kB / 1.523 GB, free: 7.43 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.6187, allocations: 335.6 kB / 1.523 GB, free: 7.031 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.6193, allocations: 309 kB / 1.524 GB, free: 6.691 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6193, allocations: 7.922 kB / 1.524 GB, free: 6.684 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007092/0.62, allocations: 369 kB / 1.524 GB, free: 6.316 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.62, allocations: 5.25 kB / 1.524 GB, free: 6.312 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.62, allocations: 4 kB / 1.524 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.62, allocations: 4 kB / 1.524 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.6203, allocations: 63.91 kB / 1.524 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6204, allocations: 15.86 kB / 1.524 GB, free: 6.227 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.6207, allocations: 32.06 kB / 1.524 GB, free: 6.195 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.6207, allocations: 20 kB / 1.524 GB, free: 6.176 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.0003128/0.621, allocations: 225.7 kB / 1.524 GB, free: 5.945 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.6212, allocations: 51.73 kB / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.6218, allocations: 290.4 kB / 1.525 GB, free: 5.602 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.6218, allocations: 4 kB / 1.525 GB, free: 5.598 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.6218, allocations: 3.938 kB / 1.525 GB, free: 5.594 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.6218, allocations: 0 / 1.525 GB, free: 5.594 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.6239, allocations: 1.233 MB / 1.526 GB, free: 4.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6239, allocations: 8.031 kB / 1.526 GB, free: 4.262 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.6242, allocations: 43.92 kB / 1.526 GB, free: 4.219 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.6242, allocations: 4 kB / 1.526 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.6242, allocations: 15.98 kB / 1.526 GB, free: 4.199 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.6242, allocations: 4 kB / 1.526 GB, free: 4.195 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.6242, allocations: 11.88 kB / 1.526 GB, free: 4.184 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.6249, allocations: 490.8 kB / 1.526 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.6251, allocations: 71.67 kB / 1.526 GB, free: 3.566 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.6251, allocations: 8 kB / 1.526 GB, free: 3.559 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.6254, allocations: 15.98 kB / 1.526 GB, free: 3.543 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.6255, allocations: 31.84 kB / 1.526 GB, free: 3.512 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.6255, allocations: 8 kB / 1.527 GB, free: 3.504 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003588/0.6258, allocations: 291.1 kB / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6258, allocations: 0 / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000734/0.6266, allocations: 203.2 kB / 1.527 GB, free: 3.02 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.0003577/0.6269, allocations: 183 kB / 1.527 GB, free: 2.832 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.6276, allocations: 260.6 kB / 1.527 GB, free: 2.578 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6276, allocations: 3.938 kB / 1.527 GB, free: 2.574 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.6278, allocations: 132.9 kB / 1.528 GB, free: 2.445 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6289, allocations: 203.3 kB / 1.528 GB, free: 2.258 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.631, allocations: 1.258 MB / 1.529 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.6314, allocations: 405 kB / 1.529 GB, free: 496 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.6315, allocations: 39.44 kB / 1.529 GB, free: 460 kB / 1.217 GB Notification: Performance of SimCode: time 4.01e-07/0.6315, allocations: 0 / 1.529 GB, free: 460 kB / 1.217 GB Notification: Performance of Templates: time 0.01443/0.646, allocations: 9.023 MB / 1.538 GB, free: 7.484 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: 12.746301915962249]