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.001341/0.001341, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001506/0.001506, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.836/2.836, allocations: 377.9 MB / 0.6228 GB, free: 12.53 MB / 0.5919 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.003373/0.003373, allocations: 67.91 kB / 0.9819 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9913/0.9946, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2313/1.226, allocations: 171.8 MB / 1.322 GB, free: 11.83 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01397/1.24, allocations: 9.265 MB / 1.331 GB, free: 3.566 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/1.241, allocations: 47.62 kB / 1.331 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/1.242, allocations: 409 kB / 1.331 GB, free: 3.117 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/1.246, allocations: 1.03 MB / 1.332 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/1.249, allocations: 1.312 MB / 1.333 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002456/1.252, allocations: 1.702 MB / 1.335 GB, free: 15.06 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/1.253, allocations: 0.5942 MB / 1.336 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/1.257, allocations: 1.705 MB / 1.337 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008314/1.258, allocations: 0.5094 MB / 1.338 GB, free: 12.22 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/1.258, allocations: 68 kB / 1.338 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/1.261, allocations: 1.149 MB / 1.339 GB, free: 11 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004451/1.261, allocations: 355 kB / 1.339 GB, free: 10.65 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/1.262, allocations: 362.3 kB / 1.34 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/1.264, allocations: 1.471 MB / 1.341 GB, free: 8.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.264, allocations: 0 / 1.341 GB, free: 8.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.543e-06/1.264, allocations: 3.938 kB / 1.341 GB, free: 8.816 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.996e-05/1.264, allocations: 0 / 1.341 GB, free: 8.816 MB / 1.186 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.00173/1.266, allocations: 1.092 MB / 1.342 GB, free: 7.691 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.266, allocations: 12.03 kB / 1.342 GB, free: 7.68 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/1.268, allocations: 295.1 kB / 1.343 GB, free: 7.391 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.269, allocations: 0.5049 MB / 1.343 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/1.269, allocations: 58 kB / 1.343 GB, free: 6.797 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.269, allocations: 71.98 kB / 1.343 GB, free: 6.727 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/1.271, allocations: 0.8986 MB / 1.344 GB, free: 5.77 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.271, allocations: 4 kB / 1.344 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/1.271, allocations: 39.98 kB / 1.344 GB, free: 5.727 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/1.271, allocations: 37.3 kB / 1.344 GB, free: 5.691 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/1.272, allocations: 0.5709 MB / 1.345 GB, free: 5.121 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/1.275, allocations: 2.761 MB / 1.347 GB, free: 2.266 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/1.276, allocations: 211.6 kB / 1.348 GB, free: 2.031 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/1.276, allocations: 138.5 kB / 1.348 GB, free: 1.887 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/1.277, allocations: 112 kB / 1.348 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.277, allocations: 42.5 kB / 1.348 GB, free: 1.727 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/1.277, allocations: 0 / 1.348 GB, free: 1.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.001276/1.278, allocations: 423.8 kB / 1.348 GB, free: 1.309 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/1.278, allocations: 106.8 kB / 1.348 GB, free: 1.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/1.279, allocations: 417.8 kB / 1.349 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.279, allocations: 33.7 kB / 1.349 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/1.279, allocations: 423.9 kB / 1.349 GB, free: 312 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/1.279, allocations: 83.38 kB / 1.349 GB, free: 228 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.279, allocations: 57.7 kB / 1.349 GB, free: 164 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.279, allocations: 354.8 kB / 1.35 GB, free: 15.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.28, allocations: 99.92 kB / 1.35 GB, free: 15.71 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/1.28, allocations: 339.5 kB / 1.35 GB, free: 15.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/1.281, allocations: 312.1 kB / 1.35 GB, free: 14.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.281, allocations: 0 / 1.35 GB, free: 14.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007003/1.281, allocations: 371.3 kB / 1.351 GB, free: 14.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.281, allocations: 8 kB / 1.351 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.281, allocations: 4 kB / 1.351 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.281, allocations: 4 kB / 1.351 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/1.282, allocations: 59.91 kB / 1.351 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.282, allocations: 12.28 kB / 1.351 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/1.282, allocations: 35.81 kB / 1.351 GB, free: 14.47 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/1.282, allocations: 19.94 kB / 1.351 GB, free: 14.45 MB / 1.201 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.0003063/1.282, allocations: 230.3 kB / 1.351 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/1.282, allocations: 51.67 kB / 1.351 GB, free: 14.17 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/1.283, allocations: 285.4 kB / 1.351 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.283, allocations: 4.031 kB / 1.351 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.283, allocations: 7.938 kB / 1.351 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.283, allocations: 7.984 kB / 1.351 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/1.285, allocations: 1.225 MB / 1.353 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.285, allocations: 11.94 kB / 1.353 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/1.285, allocations: 43.97 kB / 1.353 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/1.285, allocations: 4 kB / 1.353 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.285, allocations: 15.94 kB / 1.353 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.285, allocations: 4 kB / 1.353 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.285, allocations: 7.938 kB / 1.353 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/1.286, allocations: 493.7 kB / 1.353 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/1.286, allocations: 75.56 kB / 1.353 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/1.286, allocations: 8 kB / 1.353 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/1.287, allocations: 15.98 kB / 1.353 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/1.287, allocations: 31.84 kB / 1.353 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/1.287, allocations: 8 kB / 1.353 GB, free: 11.77 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003719/1.287, allocations: 291.1 kB / 1.354 GB, free: 11.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/1.287, allocations: 4 kB / 1.354 GB, free: 11.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006789/1.288, allocations: 203.3 kB / 1.354 GB, free: 11.28 MB / 1.201 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.0003138/1.288, allocations: 175 kB / 1.354 GB, free: 11.1 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005955/1.289, allocations: 252.1 kB / 1.354 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.289, allocations: 4 kB / 1.354 GB, free: 10.85 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/1.289, allocations: 127.8 kB / 1.354 GB, free: 10.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.29, allocations: 198.7 kB / 1.354 GB, free: 10.54 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/1.292, allocations: 1.198 MB / 1.356 GB, free: 9.254 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/1.292, allocations: 405.1 kB / 1.356 GB, free: 8.832 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003378/1.293, allocations: 103.5 kB / 1.356 GB, free: 8.727 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/1.293, allocations: 36.5 kB / 1.356 GB, free: 8.691 MB / 1.201 GB Notification: Performance of SimCode: time 5.71e-07/1.293, allocations: 0 / 1.356 GB, free: 8.691 MB / 1.201 GB Notification: Performance of Templates: time 0.01566/1.308, allocations: 7.592 MB / 1.364 GB, free: 1.336 MB / 1.201 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 -s ida -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: 9.546311752987094]