Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001309/0.001309, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001342/0.001342, allocations: 198 kB / 17.3 MB, free: 5.883 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 73.19 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7102/1.017, allocations: 194.1 MB / 1.216 GB, free: 7.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01136/1.028, allocations: 10.04 MB / 1.226 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/1.029, allocations: 29.22 kB / 1.226 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.031, allocations: 396 kB / 1.226 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0025/1.033, allocations: 1.037 MB / 1.227 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/1.036, allocations: 1.293 MB / 1.229 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001901/1.038, allocations: 1.687 MB / 1.23 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/1.039, allocations: 0.8388 MB / 1.231 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/1.042, allocations: 1.424 MB / 1.233 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/1.042, allocations: 0.5251 MB / 1.233 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/1.043, allocations: 60 kB / 1.233 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/1.045, allocations: 1.411 MB / 1.235 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/1.045, allocations: 347.1 kB / 1.235 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/1.046, allocations: 437.8 kB / 1.235 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/1.049, allocations: 1.507 MB / 1.237 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.049, allocations: 0 / 1.237 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.049, allocations: 0 / 1.237 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.049, allocations: 0 / 1.237 GB, free: 6.254 MB / 0.9356 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.001599/1.05, allocations: 1.148 MB / 1.238 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.05, allocations: 8.031 kB / 1.238 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/1.052, allocations: 294.6 kB / 1.238 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/1.053, allocations: 0.57 MB / 1.239 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/1.053, allocations: 58 kB / 1.239 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/1.053, allocations: 75.98 kB / 1.239 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/1.055, allocations: 0.8985 MB / 1.24 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.055, allocations: 0 / 1.24 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/1.055, allocations: 31.98 kB / 1.24 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/1.055, allocations: 45.23 kB / 1.24 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/1.056, allocations: 0.5749 MB / 1.24 GB, free: 2.406 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.003443/1.059, allocations: 3.481 MB / 1.244 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/1.059, allocations: 223.7 kB / 1.244 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/1.06, allocations: 147.6 kB / 1.244 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007647/1.06, allocations: 485.4 kB / 1.245 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.061, allocations: 42.5 kB / 1.245 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 2.073e-06/1.061, allocations: 3.938 kB / 1.245 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.001166/1.062, allocations: 446.7 kB / 1.245 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/1.062, allocations: 114.8 kB / 1.245 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/1.063, allocations: 0.8645 MB / 1.246 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/1.063, allocations: 33.64 kB / 1.246 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/1.063, allocations: 383.8 kB / 1.246 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/1.063, allocations: 78.84 kB / 1.247 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.063, allocations: 61.64 kB / 1.247 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.063, allocations: 314 kB / 1.247 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/1.064, allocations: 111.9 kB / 1.247 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/1.064, allocations: 211.7 kB / 1.247 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/1.064, allocations: 320.9 kB / 1.247 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.064, allocations: 0 / 1.247 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006503/1.065, allocations: 392.3 kB / 1.248 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.065, allocations: 8 kB / 1.248 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.065, allocations: 0 / 1.248 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.065, allocations: 8 kB / 1.248 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/1.065, allocations: 59.91 kB / 1.248 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.065, allocations: 16.2 kB / 1.248 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/1.066, allocations: 83.02 kB / 1.248 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/1.066, allocations: 16.88 kB / 1.248 GB, free: 10.11 MB / 0.9512 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.000245/1.066, allocations: 237.6 kB / 1.248 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/1.066, allocations: 79.06 kB / 1.248 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/1.067, allocations: 315.3 kB / 1.249 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.067, allocations: 7.938 kB / 1.249 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.067, allocations: 4 kB / 1.249 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.067, allocations: 3.984 kB / 1.249 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/1.069, allocations: 1.362 MB / 1.25 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.069, allocations: 4.094 kB / 1.25 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/1.069, allocations: 47.91 kB / 1.25 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/1.069, allocations: 7.984 kB / 1.25 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.069, allocations: 12 kB / 1.25 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.069, allocations: 7.938 kB / 1.25 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.069, allocations: 7.938 kB / 1.25 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/1.07, allocations: 0.5175 MB / 1.251 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/1.07, allocations: 184.1 kB / 1.251 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/1.07, allocations: 15.98 kB / 1.251 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/1.07, allocations: 11.98 kB / 1.251 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/1.071, allocations: 31.8 kB / 1.251 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/1.071, allocations: 16 kB / 1.251 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007054/1.071, allocations: 0.6121 MB / 1.251 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 0 / 1.251 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005592/1.072, allocations: 163.6 kB / 1.252 GB, free: 6.266 MB / 0.9512 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.0004198/1.072, allocations: 200 kB / 1.252 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005628/1.073, allocations: 264.5 kB / 1.252 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.073, allocations: 0 / 1.252 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/1.073, allocations: 133.5 kB / 1.252 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.075, allocations: 410.7 kB / 1.253 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.076, allocations: 1.256 MB / 1.254 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/1.077, allocations: 0.9917 MB / 1.255 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004343/1.077, allocations: 162.2 kB / 1.255 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/1.078, allocations: 47.44 kB / 1.255 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/1.078, allocations: 0 / 1.255 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.02205/1.1, allocations: 13.69 MB / 1.268 GB, free: 5.258 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches