Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 119.1 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 193.5 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 64.48 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.303, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.705/1.008, allocations: 194.1 MB / 1.208 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01183/1.02, allocations: 10.04 MB / 1.218 GB, free: 9.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/1.021, allocations: 29.28 kB / 1.218 GB, free: 9.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.022, allocations: 395.1 kB / 1.219 GB, free: 9.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002526/1.025, allocations: 1.038 MB / 1.22 GB, free: 8.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/1.028, allocations: 1.28 MB / 1.221 GB, free: 7.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001934/1.03, allocations: 1.702 MB / 1.222 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/1.031, allocations: 0.8285 MB / 1.223 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/1.034, allocations: 1.427 MB / 1.225 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007361/1.035, allocations: 0.5232 MB / 1.225 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/1.035, allocations: 62.44 kB / 1.225 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/1.038, allocations: 1.408 MB / 1.227 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/1.038, allocations: 355 kB / 1.227 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005278/1.038, allocations: 429.8 kB / 1.227 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/1.041, allocations: 1.515 MB / 1.229 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.041, allocations: 0 / 1.229 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.973e-06/1.041, allocations: 0 / 1.229 GB, free: 1.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.56e-05/1.041, allocations: 0 / 1.229 GB, free: 1.77 MB / 0.92 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.001431/1.042, allocations: 1.139 MB / 1.23 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.042, allocations: 12.92 kB / 1.23 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/1.044, allocations: 298.6 kB / 1.23 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/1.045, allocations: 0.57 MB / 1.231 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/1.045, allocations: 57.98 kB / 1.231 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/1.045, allocations: 79.98 kB / 1.231 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.047, allocations: 0.8985 MB / 1.232 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.047, allocations: 3.938 kB / 1.232 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/1.047, allocations: 35.98 kB / 1.232 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/1.047, allocations: 37.3 kB / 1.232 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009644/1.048, allocations: 0.5768 MB / 1.232 GB, free: 13.92 MB / 0.9356 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.003915/1.052, allocations: 3.481 MB / 1.236 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/1.052, allocations: 227.7 kB / 1.236 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/1.052, allocations: 138.5 kB / 1.236 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/1.053, allocations: 493.4 kB / 1.237 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/1.053, allocations: 34.55 kB / 1.237 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 2.424e-06/1.053, allocations: 0 / 1.237 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.001201/1.054, allocations: 454.6 kB / 1.237 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.055, allocations: 114.7 kB / 1.237 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.056, allocations: 0.8645 MB / 1.238 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/1.056, allocations: 29.77 kB / 1.238 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/1.056, allocations: 383.8 kB / 1.238 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/1.056, allocations: 74.84 kB / 1.239 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/1.056, allocations: 61.7 kB / 1.239 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.056, allocations: 318 kB / 1.239 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.056, allocations: 96.8 kB / 1.239 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/1.057, allocations: 212.1 kB / 1.239 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/1.057, allocations: 319 kB / 1.24 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.057, allocations: 0 / 1.24 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006515/1.058, allocations: 410.6 kB / 1.24 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.058, allocations: 8 kB / 1.24 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.058, allocations: 4 kB / 1.24 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.058, allocations: 4 kB / 1.24 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/1.058, allocations: 57.66 kB / 1.24 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.058, allocations: 7.938 kB / 1.24 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/1.059, allocations: 79.02 kB / 1.24 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.059, allocations: 16 kB / 1.24 GB, free: 5.637 MB / 0.9356 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.0002558/1.059, allocations: 238.4 kB / 1.24 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/1.059, allocations: 79.06 kB / 1.24 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/1.06, allocations: 322.6 kB / 1.241 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/1.06, allocations: 7.938 kB / 1.241 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.06, allocations: 1.125 kB / 1.241 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.06, allocations: 0 / 1.241 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/1.062, allocations: 1.369 MB / 1.242 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.062, allocations: 4.531 kB / 1.242 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/1.062, allocations: 55.8 kB / 1.242 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.062, allocations: 4 kB / 1.242 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/1.062, allocations: 8 kB / 1.242 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/1.062, allocations: 16.73 kB / 1.242 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.062, allocations: 4.938 kB / 1.242 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/1.063, allocations: 0.5138 MB / 1.243 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.063, allocations: 184.1 kB / 1.243 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/1.063, allocations: 12 kB / 1.243 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/1.063, allocations: 19.98 kB / 1.243 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/1.064, allocations: 27.86 kB / 1.243 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/1.064, allocations: 9 kB / 1.243 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007176/1.064, allocations: 0.616 MB / 1.243 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.064, allocations: 4 kB / 1.243 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005534/1.065, allocations: 167.7 kB / 1.244 GB, free: 1.789 MB / 0.9356 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.0003842/1.065, allocations: 183.5 kB / 1.244 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005361/1.066, allocations: 264.5 kB / 1.244 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.066, allocations: 3.938 kB / 1.244 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/1.066, allocations: 129.1 kB / 1.244 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.068, allocations: 429.8 kB / 1.245 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/1.07, allocations: 1.242 MB / 1.246 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/1.07, allocations: 0.9917 MB / 1.247 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004292/1.071, allocations: 158.2 kB / 1.247 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.071, allocations: 47.44 kB / 1.247 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/1.071, allocations: 0 / 1.247 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of Templates: time 0.02181/1.093, allocations: 13.69 MB / 1.26 GB, free: 0.7969 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches