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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001654/0.001654, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001777/0.001777, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.88 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8187, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2023/1.021, allocations: 194.1 MB / 1.398 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01242/1.034, allocations: 10.04 MB / 1.408 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/1.035, allocations: 27.81 kB / 1.408 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/1.036, allocations: 393 kB / 1.408 GB, free: 280 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003267/1.039, allocations: 1.023 MB / 1.409 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/1.043, allocations: 1.304 MB / 1.41 GB, free: 13.94 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002437/1.045, allocations: 1.686 MB / 1.412 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/1.047, allocations: 0.8433 MB / 1.413 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/1.05, allocations: 1.424 MB / 1.414 GB, free: 9.953 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008795/1.051, allocations: 0.5251 MB / 1.415 GB, free: 9.426 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/1.051, allocations: 67.94 kB / 1.415 GB, free: 9.359 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/1.054, allocations: 1.403 MB / 1.416 GB, free: 7.953 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/1.054, allocations: 347.1 kB / 1.417 GB, free: 7.613 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006935/1.055, allocations: 433.8 kB / 1.417 GB, free: 7.188 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/1.058, allocations: 1.507 MB / 1.418 GB, free: 5.676 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.058, allocations: 0 / 1.418 GB, free: 5.676 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.158e-06/1.058, allocations: 8 kB / 1.418 GB, free: 5.668 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.829e-05/1.058, allocations: 3.938 kB / 1.418 GB, free: 5.664 MB / 1.139 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.001989/1.06, allocations: 1.134 MB / 1.42 GB, free: 4.477 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.06, allocations: 8.031 kB / 1.42 GB, free: 4.469 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/1.062, allocations: 294.6 kB / 1.42 GB, free: 4.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.063, allocations: 0.5778 MB / 1.42 GB, free: 3.559 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/1.063, allocations: 57.98 kB / 1.421 GB, free: 3.504 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.063, allocations: 72 kB / 1.421 GB, free: 3.434 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/1.065, allocations: 0.9025 MB / 1.421 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/1.065, allocations: 0 / 1.421 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.065, allocations: 28 kB / 1.421 GB, free: 2.441 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/1.065, allocations: 49.23 kB / 1.422 GB, free: 2.395 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.066, allocations: 0.5671 MB / 1.422 GB, free: 1.828 MB / 1.139 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.003762/1.07, allocations: 3.489 MB / 1.425 GB, free: 14.15 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/1.07, allocations: 235.5 kB / 1.426 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/1.07, allocations: 146.4 kB / 1.426 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007975/1.071, allocations: 485.4 kB / 1.426 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.071, allocations: 46.56 kB / 1.426 GB, free: 13.12 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/1.071, allocations: 0 / 1.426 GB, free: 13.12 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.001255/1.072, allocations: 450.1 kB / 1.427 GB, free: 12.67 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/1.073, allocations: 114.7 kB / 1.427 GB, free: 12.54 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.074, allocations: 0.8605 MB / 1.428 GB, free: 11.67 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/1.074, allocations: 33.7 kB / 1.428 GB, free: 11.63 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/1.074, allocations: 383.8 kB / 1.428 GB, free: 11.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/1.074, allocations: 74.94 kB / 1.428 GB, free: 11.17 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.074, allocations: 57.61 kB / 1.428 GB, free: 11.11 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.074, allocations: 322 kB / 1.429 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/1.075, allocations: 103.9 kB / 1.429 GB, free: 10.69 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/1.075, allocations: 207.6 kB / 1.429 GB, free: 10.45 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/1.075, allocations: 316.7 kB / 1.429 GB, free: 10.1 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.075, allocations: 0 / 1.429 GB, free: 10.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007311/1.076, allocations: 402 kB / 1.43 GB, free: 9.699 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.076, allocations: 4 kB / 1.43 GB, free: 9.695 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.076, allocations: 4 kB / 1.43 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.076, allocations: 4 kB / 1.43 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/1.076, allocations: 76.12 kB / 1.43 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.076, allocations: 4 kB / 1.43 GB, free: 9.609 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/1.077, allocations: 79.05 kB / 1.43 GB, free: 9.531 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/1.077, allocations: 19.98 kB / 1.43 GB, free: 9.512 MB / 1.154 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.0002736/1.077, allocations: 225.7 kB / 1.43 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.077, allocations: 75.06 kB / 1.43 GB, free: 9.207 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/1.078, allocations: 326.9 kB / 1.43 GB, free: 8.883 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.078, allocations: 11.91 kB / 1.43 GB, free: 8.871 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.078, allocations: 4 kB / 1.43 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.078, allocations: 0 / 1.43 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/1.08, allocations: 1.365 MB / 1.432 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.08, allocations: 4 kB / 1.432 GB, free: 7.387 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.08, allocations: 43.92 kB / 1.432 GB, free: 7.344 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/1.08, allocations: 7.984 kB / 1.432 GB, free: 7.336 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/1.08, allocations: 15.94 kB / 1.432 GB, free: 7.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/1.08, allocations: 4 kB / 1.432 GB, free: 7.316 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.08, allocations: 8.5 kB / 1.432 GB, free: 7.309 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/1.081, allocations: 0.5165 MB / 1.432 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/1.081, allocations: 188.1 kB / 1.432 GB, free: 6.52 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.081, allocations: 4 kB / 1.432 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/1.082, allocations: 19.92 kB / 1.432 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/1.082, allocations: 35.84 kB / 1.433 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/1.082, allocations: 15.94 kB / 1.433 GB, free: 6.445 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007498/1.083, allocations: 0.6122 MB / 1.433 GB, free: 5.836 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.01e-07/1.083, allocations: 0 / 1.433 GB, free: 5.836 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005899/1.083, allocations: 163.8 kB / 1.433 GB, free: 5.676 MB / 1.154 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.0004578/1.084, allocations: 192.5 kB / 1.433 GB, free: 5.488 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005795/1.084, allocations: 262.2 kB / 1.434 GB, free: 5.234 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.084, allocations: 0 / 1.434 GB, free: 5.234 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/1.085, allocations: 133 kB / 1.434 GB, free: 5.105 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.086, allocations: 411.2 kB / 1.434 GB, free: 4.707 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/1.088, allocations: 1.302 MB / 1.436 GB, free: 3.316 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/1.089, allocations: 0.9881 MB / 1.436 GB, free: 2.301 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.089, allocations: 55.44 kB / 1.437 GB, free: 2.246 MB / 1.154 GB Notification: Performance of SimCode: time 4.71e-07/1.089, allocations: 0 / 1.437 GB, free: 2.246 MB / 1.154 GB Notification: Performance of Templates: time 0.01802/1.107, allocations: 12.08 MB / 1.448 GB, free: 6.285 MB / 1.17 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/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