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.001192/0.001192, allocations: 110.3 kB / 16.41 MB, free: 6.473 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.001297/0.001298, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.15 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.425/2.425, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.8001, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1934/0.9935, allocations: 194.1 MB / 1.357 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0121/1.006, allocations: 10.04 MB / 1.367 GB, free: 6.914 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/1.007, allocations: 27.81 kB / 1.367 GB, free: 6.887 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/1.008, allocations: 393 kB / 1.367 GB, free: 6.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003116/1.011, allocations: 1.081 MB / 1.368 GB, free: 5.414 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/1.014, allocations: 1.32 MB / 1.369 GB, free: 4.094 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0024/1.017, allocations: 1.698 MB / 1.371 GB, free: 2.391 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.018, allocations: 0.8428 MB / 1.372 GB, free: 1.527 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/1.021, allocations: 1.459 MB / 1.373 GB, free: 64 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/1.022, allocations: 0.5289 MB / 1.374 GB, free: 15.53 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/1.022, allocations: 60 kB / 1.374 GB, free: 15.47 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/1.025, allocations: 1.411 MB / 1.375 GB, free: 14.06 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/1.025, allocations: 351.1 kB / 1.376 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005437/1.026, allocations: 433.8 kB / 1.376 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/1.029, allocations: 1.523 MB / 1.378 GB, free: 11.76 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.029, allocations: 0 / 1.378 GB, free: 11.76 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/1.029, allocations: 0 / 1.378 GB, free: 11.76 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.671e-05/1.029, 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.00165/1.03, allocations: 1.164 MB / 1.379 GB, free: 10.55 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.031, allocations: 8.922 kB / 1.379 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/1.032, allocations: 299.1 kB / 1.379 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.033, allocations: 0.5782 MB / 1.38 GB, free: 9.625 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/1.034, allocations: 61.98 kB / 1.38 GB, free: 9.562 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.034, allocations: 76 kB / 1.38 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/1.035, allocations: 0.8947 MB / 1.381 GB, free: 8.535 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.035, allocations: 3.938 kB / 1.381 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/1.035, allocations: 36 kB / 1.381 GB, free: 8.496 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/1.035, allocations: 37.3 kB / 1.381 GB, free: 8.461 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009641/1.036, allocations: 0.5787 MB / 1.381 GB, free: 7.883 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.003679/1.04, allocations: 3.502 MB / 1.385 GB, free: 4.191 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/1.04, allocations: 219.7 kB / 1.385 GB, free: 3.949 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/1.041, allocations: 150.5 kB / 1.385 GB, free: 3.793 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/1.041, allocations: 485.4 kB / 1.385 GB, free: 3.227 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.041, allocations: 34.56 kB / 1.385 GB, free: 3.184 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/1.041, allocations: 0 / 1.385 GB, free: 3.184 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001282/1.043, allocations: 455.1 kB / 1.386 GB, free: 2.734 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/1.043, allocations: 114.7 kB / 1.386 GB, free: 2.598 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.044, allocations: 0.8722 MB / 1.387 GB, free: 1.715 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/1.044, allocations: 29.7 kB / 1.387 GB, free: 1.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/1.044, allocations: 384.2 kB / 1.387 GB, free: 1.301 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/1.044, allocations: 79.31 kB / 1.387 GB, free: 1.223 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.044, allocations: 65.75 kB / 1.387 GB, free: 1.152 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.044, allocations: 314 kB / 1.388 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.045, allocations: 99.91 kB / 1.388 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/1.045, allocations: 216 kB / 1.388 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/1.045, allocations: 305.3 kB / 1.388 GB, free: 160 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.045, allocations: 7.938 kB / 1.388 GB, free: 152 kB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007802/1.046, allocations: 400.8 kB / 1.389 GB, free: 15.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.046, allocations: 8 kB / 1.389 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.046, allocations: 12.27 kB / 1.389 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.046, allocations: 8 kB / 1.389 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/1.047, allocations: 59.84 kB / 1.389 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.047, allocations: 4 kB / 1.389 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/1.047, allocations: 83.34 kB / 1.389 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/1.047, allocations: 12 kB / 1.389 GB, free: 15.56 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.0002948/1.048, allocations: 237.6 kB / 1.389 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.048, allocations: 83.48 kB / 1.389 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/1.048, allocations: 322.8 kB / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.048, allocations: 7.938 kB / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.048, allocations: 4.062 kB / 1.389 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.048, allocations: 8.016 kB / 1.389 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/1.05, allocations: 1.369 MB / 1.391 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.05, allocations: 4 kB / 1.391 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.05, allocations: 43.91 kB / 1.391 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.051, allocations: 4 kB / 1.391 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.051, allocations: 16.47 kB / 1.391 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.051, allocations: 11.94 kB / 1.391 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.051, allocations: 4 kB / 1.391 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/1.051, allocations: 0.5146 MB / 1.391 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/1.051, allocations: 192.5 kB / 1.392 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/1.052, allocations: 12 kB / 1.392 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/1.052, allocations: 19.92 kB / 1.392 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/1.052, allocations: 27.92 kB / 1.392 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.052, allocations: 11.94 kB / 1.392 GB, free: 12.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00073/1.053, allocations: 0.6122 MB / 1.392 GB, free: 11.87 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.053, allocations: 0 / 1.392 GB, free: 11.87 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000586/1.053, allocations: 163.8 kB / 1.392 GB, free: 11.71 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.0004582/1.054, allocations: 203.1 kB / 1.393 GB, free: 11.52 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005917/1.054, allocations: 263.7 kB / 1.393 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.054, allocations: 0.6875 kB / 1.393 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/1.055, allocations: 143.6 kB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/1.056, allocations: 411.5 kB / 1.393 GB, free: 10.72 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/1.058, allocations: 1.316 MB / 1.395 GB, free: 9.312 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/1.059, allocations: 0.9878 MB / 1.396 GB, free: 8.297 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.059, allocations: 59.42 kB / 1.396 GB, free: 8.238 MB / 1.123 GB Notification: Performance of SimCode: time 7.62e-07/1.059, allocations: 0 / 1.396 GB, free: 8.238 MB / 1.123 GB Notification: Performance of Templates: time 0.0232/1.082, allocations: 12.07 MB / 1.407 GB, free: 12.29 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 -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