Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001698/0.001698, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002109/0.002109, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476 MB / 0.7707 GB, free: 4.672 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002241/0.002241, allocations: 68.45 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3889, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2445/0.6335, allocations: 171.7 MB / 1.451 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.6473, allocations: 9.273 MB / 1.461 GB, free: 6.227 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.6484, allocations: 39.62 kB / 1.461 GB, free: 6.188 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.6498, allocations: 412.9 kB / 1.461 GB, free: 5.781 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.6531, allocations: 1.038 MB / 1.462 GB, free: 4.738 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.6569, allocations: 1.327 MB / 1.463 GB, free: 3.41 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.6595, allocations: 1.702 MB / 1.465 GB, free: 1.703 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.6608, allocations: 0.6097 MB / 1.466 GB, free: 1.07 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.6644, allocations: 1.456 MB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007965/0.6652, allocations: 0.5444 MB / 1.467 GB, free: 15.06 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.6653, allocations: 64 kB / 1.468 GB, free: 15 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.6678, allocations: 1.149 MB / 1.469 GB, free: 13.85 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.6682, allocations: 363 kB / 1.469 GB, free: 13.49 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.6686, allocations: 370.3 kB / 1.469 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.6709, allocations: 1.463 MB / 1.471 GB, free: 11.66 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6709, allocations: 0 / 1.471 GB, free: 11.66 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.024e-06/0.671, allocations: 0 / 1.471 GB, free: 11.66 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.671, allocations: 0 / 1.471 GB, free: 11.66 MB / 1.17 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.001695/0.6727, allocations: 1.096 MB / 1.472 GB, free: 10.54 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6727, allocations: 8.031 kB / 1.472 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.6744, allocations: 299.1 kB / 1.472 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.6755, allocations: 0.5088 MB / 1.473 GB, free: 9.695 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.6756, allocations: 53.98 kB / 1.473 GB, free: 9.641 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.6757, allocations: 76 kB / 1.473 GB, free: 9.566 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.6773, allocations: 0.8986 MB / 1.474 GB, free: 8.609 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.6773, allocations: 7.984 kB / 1.474 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.6773, allocations: 28 kB / 1.474 GB, free: 8.574 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.6774, allocations: 41.3 kB / 1.474 GB, free: 8.535 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6784, allocations: 0.5748 MB / 1.474 GB, free: 7.961 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.6819, allocations: 2.749 MB / 1.477 GB, free: 5.117 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.6823, allocations: 223.6 kB / 1.477 GB, free: 4.871 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.6826, allocations: 138.5 kB / 1.477 GB, free: 4.727 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.6832, allocations: 108 kB / 1.477 GB, free: 4.621 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.6832, allocations: 42.48 kB / 1.477 GB, free: 4.57 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.6832, allocations: 0 / 1.477 GB, free: 4.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.001218/0.6844, allocations: 411.7 kB / 1.478 GB, free: 4.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.6845, allocations: 110.8 kB / 1.478 GB, free: 4.031 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.685, allocations: 429.8 kB / 1.478 GB, free: 3.602 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.6851, allocations: 33.7 kB / 1.478 GB, free: 3.562 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.6854, allocations: 416 kB / 1.479 GB, free: 3.152 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.6855, allocations: 79.36 kB / 1.479 GB, free: 3.074 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.6856, allocations: 57.7 kB / 1.479 GB, free: 3.012 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.6858, allocations: 358.7 kB / 1.479 GB, free: 2.652 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.686, allocations: 104 kB / 1.479 GB, free: 2.551 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.6865, allocations: 341.1 kB / 1.48 GB, free: 2.148 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.687, allocations: 306.8 kB / 1.48 GB, free: 1.809 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.687, allocations: 4 kB / 1.48 GB, free: 1.805 MB / 1.17 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006863/0.6877, allocations: 375 kB / 1.48 GB, free: 1.434 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6877, allocations: 8 kB / 1.48 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6877, allocations: 0 / 1.48 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.6878, allocations: 8 kB / 1.48 GB, free: 1.418 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.6881, allocations: 55.91 kB / 1.48 GB, free: 1.363 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6881, allocations: 7.938 kB / 1.48 GB, free: 1.355 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.6884, allocations: 39.77 kB / 1.48 GB, free: 1.316 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.6885, allocations: 20.19 kB / 1.48 GB, free: 1.297 MB / 1.17 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.0003185/0.6888, allocations: 233.7 kB / 1.481 GB, free: 1.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6889, allocations: 47.67 kB / 1.481 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.6895, allocations: 289.4 kB / 1.481 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6895, allocations: 4 kB / 1.481 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6895, allocations: 3.938 kB / 1.481 GB, free: 0.707 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6895, allocations: 7.984 kB / 1.481 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.6916, allocations: 1.225 MB / 1.482 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6916, allocations: 12 kB / 1.482 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.6918, allocations: 39.97 kB / 1.482 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.6918, allocations: 8 kB / 1.482 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.6918, allocations: 11.94 kB / 1.482 GB, free: 15.31 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.6918, allocations: 11.98 kB / 1.482 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.6918, allocations: 7.938 kB / 1.482 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.6925, allocations: 493.5 kB / 1.483 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.6927, allocations: 67.64 kB / 1.483 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.6927, allocations: 8 kB / 1.483 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.693, allocations: 15.98 kB / 1.483 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.6931, allocations: 27.84 kB / 1.483 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.6931, allocations: 16 kB / 1.483 GB, free: 14.61 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003669/0.6935, allocations: 287.1 kB / 1.483 GB, free: 14.33 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6935, allocations: 0 / 1.483 GB, free: 14.33 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006716/0.6941, allocations: 207.3 kB / 1.483 GB, free: 14.12 MB / 1.186 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.0003433/0.6945, allocations: 175.6 kB / 1.484 GB, free: 13.95 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.6951, allocations: 258.9 kB / 1.484 GB, free: 13.7 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6951, allocations: 0 / 1.484 GB, free: 13.7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.6954, allocations: 129.1 kB / 1.484 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6965, allocations: 203.6 kB / 1.484 GB, free: 13.38 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.6985, allocations: 1.266 MB / 1.485 GB, free: 12.02 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.699, allocations: 405 kB / 1.486 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.6991, allocations: 35.42 kB / 1.486 GB, free: 11.57 MB / 1.186 GB Notification: Performance of SimCode: time 3.8e-07/0.6991, allocations: 0 / 1.486 GB, free: 11.57 MB / 1.186 GB Notification: Performance of Templates: time 0.01435/0.7134, allocations: 9.027 MB / 1.495 GB, free: 2.602 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.82475179899484]