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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001324/0.001324, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.00129/0.00129, allocations: 195.8 kB / 17.34 MB, free: 5.758 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8134, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2511/1.064, allocations: 194.1 MB / 1.357 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01433/1.079, allocations: 10.04 MB / 1.367 GB, free: 6.914 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/1.08, allocations: 35.81 kB / 1.367 GB, free: 6.879 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.081, allocations: 401 kB / 1.367 GB, free: 6.484 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/1.084, allocations: 1.081 MB / 1.368 GB, free: 5.398 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/1.088, allocations: 1.313 MB / 1.369 GB, free: 4.086 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002473/1.09, allocations: 1.706 MB / 1.371 GB, free: 2.375 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/1.092, allocations: 0.8428 MB / 1.372 GB, free: 1.512 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/1.095, allocations: 1.452 MB / 1.373 GB, free: 56 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008313/1.096, allocations: 0.533 MB / 1.374 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/1.096, allocations: 68 kB / 1.374 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/1.099, allocations: 1.411 MB / 1.375 GB, free: 14.04 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/1.1, allocations: 343.1 kB / 1.376 GB, free: 13.7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005544/1.1, allocations: 441.8 kB / 1.376 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/1.103, allocations: 1.508 MB / 1.378 GB, free: 11.76 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.103, allocations: 0 / 1.378 GB, free: 11.76 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.784e-06/1.103, allocations: 0 / 1.378 GB, free: 11.76 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.234e-05/1.103, allocations: 0 / 1.378 GB, free: 11.76 MB / 1.107 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.001791/1.105, allocations: 1.172 MB / 1.379 GB, free: 10.54 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.105, allocations: 8.922 kB / 1.379 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/1.107, allocations: 295.1 kB / 1.379 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.108, allocations: 0.5783 MB / 1.38 GB, free: 9.617 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/1.108, allocations: 61.98 kB / 1.38 GB, free: 9.555 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/1.108, allocations: 68 kB / 1.38 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.109, allocations: 0.9064 MB / 1.381 GB, free: 8.523 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/1.109, allocations: 3.938 kB / 1.381 GB, free: 8.52 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/1.11, allocations: 35.94 kB / 1.381 GB, free: 8.484 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/1.11, allocations: 41.28 kB / 1.381 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.111, allocations: 0.5748 MB / 1.381 GB, free: 7.871 MB / 1.107 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.004091/1.115, allocations: 3.494 MB / 1.385 GB, free: 4.188 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/1.115, allocations: 227.7 kB / 1.385 GB, free: 3.938 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/1.116, allocations: 142.5 kB / 1.385 GB, free: 3.789 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/1.116, allocations: 489.4 kB / 1.385 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.116, allocations: 34.56 kB / 1.385 GB, free: 3.176 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/1.116, allocations: 0 / 1.385 GB, free: 3.176 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001334/1.118, allocations: 455.4 kB / 1.386 GB, free: 2.727 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/1.118, allocations: 114.7 kB / 1.386 GB, free: 2.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.119, allocations: 0.8725 MB / 1.387 GB, free: 1.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/1.119, allocations: 29.7 kB / 1.387 GB, free: 1.672 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/1.119, allocations: 388.2 kB / 1.387 GB, free: 1.289 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/1.12, allocations: 83.23 kB / 1.387 GB, free: 1.207 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/1.12, allocations: 53.7 kB / 1.387 GB, free: 1.148 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.12, allocations: 322 kB / 1.388 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/1.12, allocations: 99.92 kB / 1.388 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/1.12, allocations: 212 kB / 1.388 GB, free: 496 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/1.121, allocations: 314.9 kB / 1.388 GB, free: 140 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.121, allocations: 0 / 1.388 GB, free: 140 kB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007856/1.122, allocations: 411.3 kB / 1.389 GB, free: 15.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.122, allocations: 4 kB / 1.389 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.122, allocations: 4.047 kB / 1.389 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.122, allocations: 7.984 kB / 1.389 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/1.122, allocations: 63.84 kB / 1.389 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.122, allocations: 4 kB / 1.389 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.123, allocations: 79.59 kB / 1.389 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/1.123, allocations: 27.92 kB / 1.389 GB, free: 15.54 MB / 1.123 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.0003054/1.123, allocations: 233.7 kB / 1.389 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.123, allocations: 79.48 kB / 1.389 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/1.124, allocations: 324.7 kB / 1.389 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.124, allocations: 3.938 kB / 1.389 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.124, allocations: 4 kB / 1.389 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.124, allocations: 0 / 1.389 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/1.126, allocations: 1.366 MB / 1.391 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.126, allocations: 8.031 kB / 1.391 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/1.126, allocations: 47.91 kB / 1.391 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.126, allocations: 8 kB / 1.391 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.126, allocations: 7.938 kB / 1.391 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.126, allocations: 11.94 kB / 1.391 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.126, allocations: 4 kB / 1.391 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/1.127, allocations: 0.5146 MB / 1.391 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/1.127, allocations: 196.5 kB / 1.392 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/1.128, allocations: 8 kB / 1.392 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/1.128, allocations: 19.92 kB / 1.392 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/1.128, allocations: 27.91 kB / 1.392 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.128, allocations: 15.94 kB / 1.392 GB, free: 12.46 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008357/1.129, allocations: 0.6161 MB / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.129, allocations: 0 / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006238/1.129, allocations: 159.8 kB / 1.392 GB, free: 11.7 MB / 1.123 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.0005358/1.13, allocations: 203.5 kB / 1.393 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006408/1.131, allocations: 269.6 kB / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.131, allocations: 0 / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.131, allocations: 129 kB / 1.393 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/1.133, allocations: 424 kB / 1.393 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.135, allocations: 1.264 MB / 1.395 GB, free: 9.355 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/1.136, allocations: 0.9917 MB / 1.396 GB, free: 8.336 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004816/1.136, allocations: 166.2 kB / 1.396 GB, free: 8.172 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.136, allocations: 51.44 kB / 1.396 GB, free: 8.121 MB / 1.123 GB Notification: Performance of SimCode: time 3.71e-07/1.136, allocations: 0 / 1.396 GB, free: 8.121 MB / 1.123 GB Notification: Performance of Templates: time 0.02687/1.163, allocations: 13.81 MB / 1.409 GB, free: 10.53 MB / 1.139 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 cvode -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