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.001463/0.001463, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001711/0.001711, allocations: 157.7 kB / 23.54 MB, free: 0.8711 MB / 18.57 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.908/2.908, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 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 1.844e-06/1.844e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.489e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2585/0.2586, allocations: 171.6 MB / 0.9784 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.2736, allocations: 9.217 MB / 0.9874 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000922/0.2745, allocations: 43.62 kB / 0.9874 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.2756, allocations: 409 kB / 0.9878 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.2785, allocations: 1.068 MB / 0.9888 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.2821, allocations: 1.394 MB / 0.9902 GB, free: 9.797 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002586/0.2847, allocations: 1.678 MB / 0.9918 GB, free: 8.113 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.2857, allocations: 0.6177 MB / 0.9925 GB, free: 7.473 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/0.2899, allocations: 1.923 MB / 0.9943 GB, free: 5.543 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.2907, allocations: 474.5 kB / 0.9948 GB, free: 5.078 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2908, allocations: 64 kB / 0.9948 GB, free: 5.016 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.2933, allocations: 1.153 MB / 0.996 GB, free: 3.859 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.2937, allocations: 378.8 kB / 0.9963 GB, free: 3.488 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.2941, allocations: 299.3 kB / 0.9966 GB, free: 3.195 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.2967, allocations: 1.511 MB / 0.9981 GB, free: 1.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2967, allocations: 0 / 0.9981 GB, free: 1.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2967, allocations: 3.938 kB / 0.9981 GB, free: 1.676 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.2967, allocations: 4 kB / 0.9981 GB, free: 1.672 MB / 0.948 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.001812/0.2986, allocations: 1.084 MB / 0.9992 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2986, allocations: 8.031 kB / 0.9992 GB, free: 0.543 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.3006, allocations: 434.2 kB / 0.9996 GB, free: 120 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3017, allocations: 0.5323 MB / 1 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.3017, allocations: 61.98 kB / 1 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.3018, allocations: 72 kB / 1 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3034, allocations: 0.8986 MB / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3035, allocations: 4 kB / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.3035, allocations: 32 kB / 1.001 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.649e-05/0.3036, allocations: 33.3 kB / 1.001 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3048, allocations: 0.5748 MB / 1.002 GB, free: 13.83 MB / 0.9636 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.003999/0.3088, allocations: 2.784 MB / 1.004 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.3092, allocations: 211.7 kB / 1.005 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.3095, allocations: 138.5 kB / 1.005 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/0.3101, allocations: 103.9 kB / 1.005 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.3102, allocations: 46.5 kB / 1.005 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 4.308e-06/0.3102, allocations: 3.984 kB / 1.005 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.001344/0.3115, allocations: 439.6 kB / 1.005 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3116, allocations: 111.1 kB / 1.005 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.3122, allocations: 421.8 kB / 1.006 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3122, allocations: 29.7 kB / 1.006 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.3126, allocations: 416 kB / 1.006 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/0.3127, allocations: 79.31 kB / 1.006 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3128, allocations: 57.66 kB / 1.006 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.313, allocations: 362.7 kB / 1.007 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.3132, allocations: 99.86 kB / 1.007 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.3137, allocations: 343.6 kB / 1.007 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.3143, allocations: 320.1 kB / 1.007 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3143, allocations: 0 / 1.007 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007772/0.3151, allocations: 375.9 kB / 1.008 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3151, allocations: 8.344 kB / 1.008 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3151, allocations: 11.98 kB / 1.008 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3151, allocations: 7.938 kB / 1.008 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3155, allocations: 59.91 kB / 1.008 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3155, allocations: 4 kB / 1.008 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.3158, allocations: 35.83 kB / 1.008 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.3159, allocations: 16.05 kB / 1.008 GB, free: 7.102 MB / 0.9636 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.0003236/0.3162, allocations: 233.6 kB / 1.008 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3163, allocations: 59.7 kB / 1.008 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006754/0.317, allocations: 289.3 kB / 1.009 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.317, allocations: 4 kB / 1.009 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.317, allocations: 0 / 1.009 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.317, allocations: 4 kB / 1.009 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.3192, allocations: 1.229 MB / 1.01 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3192, allocations: 7.984 kB / 1.01 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3195, allocations: 43.92 kB / 1.01 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3195, allocations: 4.531 kB / 1.01 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3195, allocations: 12 kB / 1.01 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.3195, allocations: 11.98 kB / 1.01 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.3195, allocations: 7.938 kB / 1.01 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.3203, allocations: 487.2 kB / 1.01 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.3204, allocations: 75.56 kB / 1.01 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.3205, allocations: 11.98 kB / 1.01 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.3208, allocations: 16 kB / 1.01 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3209, allocations: 31.84 kB / 1.01 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3209, allocations: 8 kB / 1.01 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004092/0.3213, allocations: 295.1 kB / 1.011 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.3213, allocations: 0 / 1.011 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007059/0.322, allocations: 203.3 kB / 1.011 GB, free: 3.938 MB / 0.9636 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.0005886/0.3226, allocations: 183.1 kB / 1.011 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006363/0.3232, allocations: 255.5 kB / 1.011 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3232, allocations: 0 / 1.011 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.3235, allocations: 133.1 kB / 1.011 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3247, allocations: 207.5 kB / 1.012 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3267, allocations: 1.205 MB / 1.013 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.3272, allocations: 405.1 kB / 1.013 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003614/0.3276, allocations: 103.5 kB / 1.013 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3277, allocations: 36.5 kB / 1.013 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of SimCode: time 8.12e-07/0.3277, allocations: 0 / 1.013 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of Templates: time 0.01681/0.3445, allocations: 7.564 MB / 1.021 GB, free: 9.988 MB / 0.9792 GB " [Timeout remaining time 300] 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: 8.492320338031277]