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.002022/0.002022, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002339/0.002339, allocations: 165.2 kB / 22.46 MB, free: 5.359 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.851/2.851, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/4.029e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7578/0.7579, allocations: 171.6 MB / 1.149 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.7696, allocations: 9.211 MB / 1.158 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.7708, allocations: 43.31 kB / 1.158 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.772, allocations: 416.4 kB / 1.158 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.7749, allocations: 1.059 MB / 1.159 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.7784, allocations: 1.393 MB / 1.161 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.7813, allocations: 1.682 MB / 1.162 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.7827, allocations: 0.6089 MB / 1.163 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.788, allocations: 1.921 MB / 1.165 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.789, allocations: 466.5 kB / 1.165 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.7892, allocations: 63.56 kB / 1.165 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.7921, allocations: 1.167 MB / 1.167 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.7925, allocations: 369.8 kB / 1.167 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.7929, allocations: 299.1 kB / 1.167 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.7958, allocations: 1.508 MB / 1.169 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7958, allocations: 0 / 1.169 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7958, allocations: 0 / 1.169 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.7958, allocations: 0 / 1.169 GB, free: 10.99 MB / 0.9981 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.001598/0.7974, allocations: 1.085 MB / 1.17 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7974, allocations: 9.906 kB / 1.17 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.7993, allocations: 296.4 kB / 1.17 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.8001, allocations: 0.5054 MB / 1.171 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.8002, allocations: 63.22 kB / 1.171 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.8003, allocations: 69.66 kB / 1.171 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.8016, allocations: 0.8959 MB / 1.172 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.8016, allocations: 3.844 kB / 1.172 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.8017, allocations: 34.14 kB / 1.172 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.8017, allocations: 45.69 kB / 1.172 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.8027, allocations: 0.575 MB / 1.172 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.8054, allocations: 2.748 MB / 1.175 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.8058, allocations: 216.7 kB / 1.175 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.806, allocations: 138.9 kB / 1.175 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/0.8066, allocations: 112.2 kB / 1.175 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.8066, allocations: 34.19 kB / 1.175 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.8066, allocations: 0 / 1.175 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.00116/0.8078, allocations: 424 kB / 1.176 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.8078, allocations: 106.1 kB / 1.176 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.8083, allocations: 421.3 kB / 1.176 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.8083, allocations: 31.05 kB / 1.176 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.8085, allocations: 417.5 kB / 1.177 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.8085, allocations: 81.31 kB / 1.177 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.8086, allocations: 60.56 kB / 1.177 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.8087, allocations: 361 kB / 1.177 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.8089, allocations: 101.9 kB / 1.177 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.8092, allocations: 343.2 kB / 1.178 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.8097, allocations: 316.9 kB / 1.178 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8097, allocations: 1.219 kB / 1.178 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000649/0.8104, allocations: 371.8 kB / 1.178 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8104, allocations: 6.719 kB / 1.178 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8104, allocations: 3.438 kB / 1.178 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.8104, allocations: 4.375 kB / 1.178 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.8107, allocations: 63.12 kB / 1.178 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.8108, allocations: 4.312 kB / 1.178 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.8111, allocations: 36.66 kB / 1.178 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.8112, allocations: 15.06 kB / 1.178 GB, free: 5.102 MB / 0.9981 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.0002753/0.8114, allocations: 235.9 kB / 1.179 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.8115, allocations: 45.86 kB / 1.179 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.8121, allocations: 297.7 kB / 1.179 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8121, allocations: 4.062 kB / 1.179 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8121, allocations: 0.9375 kB / 1.179 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8121, allocations: 1.25 kB / 1.179 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.8138, allocations: 1.23 MB / 1.18 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.8138, allocations: 4.281 kB / 1.18 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.814, allocations: 49.11 kB / 1.18 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.814, allocations: 5.344 kB / 1.18 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.8141, allocations: 8.828 kB / 1.18 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.8141, allocations: 9.312 kB / 1.18 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8141, allocations: 7 kB / 1.18 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.8146, allocations: 491.2 kB / 1.181 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.8147, allocations: 69 kB / 1.181 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.8148, allocations: 13.94 kB / 1.181 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.8151, allocations: 14.34 kB / 1.181 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.8151, allocations: 31.22 kB / 1.181 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.8152, allocations: 11.62 kB / 1.181 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003073/0.8155, allocations: 291 kB / 1.181 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8155, allocations: 0 / 1.181 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007488/0.8162, allocations: 203.6 kB / 1.181 GB, free: 3.426 MB / 0.9981 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.0002957/0.8165, allocations: 188.9 kB / 1.181 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.8171, allocations: 251.7 kB / 1.182 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8171, allocations: 1.875 kB / 1.182 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.8173, allocations: 127.7 kB / 1.182 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.8185, allocations: 214.8 kB / 1.182 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.8203, allocations: 1.175 MB / 1.183 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.8206, allocations: 405.2 kB / 1.184 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003435/0.821, allocations: 101.8 kB / 1.184 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.8211, allocations: 35.88 kB / 1.184 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.8211, allocations: 0 / 1.184 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of Templates: time 0.01466/0.8357, allocations: 7.533 MB / 1.191 GB, free: 1.465 MB / 0.9981 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/jenkins/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.15433281287551]