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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001431/0.001431, allocations: 194.9 kB / 16.14 MB, free: 6.691 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.12 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2945, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7561/1.051, allocations: 191.9 MB / 1.255 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01126/1.062, allocations: 10.04 MB / 1.265 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/1.063, allocations: 27.19 kB / 1.265 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/1.064, allocations: 312.7 kB / 1.265 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00282/1.067, allocations: 0.9715 MB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/1.071, allocations: 1.199 MB / 1.267 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005713/1.077, allocations: 2.335 MB / 1.269 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/1.079, allocations: 0.717 MB / 1.27 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/1.083, allocations: 1.321 MB / 1.271 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009707/1.084, allocations: 0.5534 MB / 1.272 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/1.084, allocations: 42.56 kB / 1.272 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/1.088, allocations: 1.658 MB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005307/1.089, allocations: 325.4 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006837/1.089, allocations: 422.4 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003853/1.093, allocations: 1.566 MB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.093, allocations: 0.5156 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.765e-06/1.093, allocations: 1.031 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.629e-05/1.093, allocations: 0 / 1.276 GB, free: 5.141 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.002426/1.096, allocations: 1.142 MB / 1.277 GB, free: 20.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.096, allocations: 14.52 kB / 1.277 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/1.098, allocations: 289.9 kB / 1.277 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/1.099, allocations: 0.5303 MB / 1.278 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/1.099, allocations: 58.41 kB / 1.278 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.099, allocations: 73.42 kB / 1.278 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/1.101, allocations: 0.8981 MB / 1.279 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.101, allocations: 1.438 kB / 1.279 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.36e-05/1.101, allocations: 34.81 kB / 1.279 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/1.101, allocations: 47.12 kB / 1.279 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.102, allocations: 0.5716 MB / 1.279 GB, free: 19.93 MB / 1.014 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.004199/1.106, allocations: 3.504 MB / 1.283 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/1.107, allocations: 220.6 kB / 1.283 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/1.107, allocations: 148.8 kB / 1.283 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009178/1.108, allocations: 488.5 kB / 1.284 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.108, allocations: 39.61 kB / 1.284 GB, free: 17.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.866e-06/1.108, allocations: 0 / 1.284 GB, free: 17.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001284/1.109, allocations: 457.4 kB / 1.284 GB, free: 17.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/1.109, allocations: 106.3 kB / 1.284 GB, free: 16.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.11, allocations: 0.8668 MB / 1.285 GB, free: 16.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/1.11, allocations: 31.08 kB / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/1.111, allocations: 385.6 kB / 1.286 GB, free: 16.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/1.111, allocations: 75.25 kB / 1.286 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/1.111, allocations: 58.11 kB / 1.286 GB, free: 16.56 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/1.111, allocations: 318.9 kB / 1.286 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/1.111, allocations: 105.3 kB / 1.286 GB, free: 16.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/1.111, allocations: 219.7 kB / 1.286 GB, free: 16.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/1.112, allocations: 312 kB / 1.287 GB, free: 16.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.112, allocations: 1.312 kB / 1.287 GB, free: 16.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007086/1.113, allocations: 397.6 kB / 1.287 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.113, allocations: 10.42 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.113, allocations: 4.875 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.113, allocations: 13.36 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/1.113, allocations: 66.06 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.113, allocations: 5.875 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/1.114, allocations: 88.3 kB / 1.287 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/1.114, allocations: 17.02 kB / 1.287 GB, free: 15.9 MB / 1.014 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.000293/1.114, allocations: 232.4 kB / 1.287 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.114, allocations: 78.19 kB / 1.287 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/1.115, allocations: 328.2 kB / 1.288 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.115, allocations: 3.031 kB / 1.288 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.115, allocations: 5.406 kB / 1.288 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.115, allocations: 1.219 kB / 1.288 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/1.117, allocations: 1.365 MB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.117, allocations: 7.094 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/1.117, allocations: 45.59 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.117, allocations: 8.531 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.117, allocations: 13.78 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.117, allocations: 4.812 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.117, allocations: 8.406 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/1.118, allocations: 0.5138 MB / 1.29 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/1.118, allocations: 188.4 kB / 1.29 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/1.118, allocations: 9.094 kB / 1.29 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/1.118, allocations: 29.41 kB / 1.29 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/1.118, allocations: 34.08 kB / 1.29 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/1.119, allocations: 9.469 kB / 1.29 GB, free: 14.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007352/1.119, allocations: 0.6139 MB / 1.291 GB, free: 14.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.119, allocations: 0 / 1.291 GB, free: 14.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006664/1.12, allocations: 161.6 kB / 1.291 GB, free: 14.5 MB / 1.014 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.0004303/1.12, allocations: 194.2 kB / 1.291 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005695/1.121, allocations: 250.2 kB / 1.291 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.121, allocations: 3.594 kB / 1.291 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/1.121, allocations: 133.1 kB / 1.291 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.123, allocations: 406.4 kB / 1.292 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/1.125, allocations: 1.484 MB / 1.293 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/1.125, allocations: 0.9914 MB / 1.294 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006503/1.126, allocations: 166.8 kB / 1.294 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.126, allocations: 48.59 kB / 1.294 GB, free: 12.74 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.126, allocations: 3.938 kB / 1.294 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Templates: time 0.02388/1.15, allocations: 13.1 MB / 1.307 GB, free: 11.97 MB / 1.014 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 -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/jenkins/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