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.001532/0.001532, allocations: 110.7 kB / 16.42 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.001785/0.001785, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.405/2.405, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002512, allocations: 68.06 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.756, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1912/0.9472, allocations: 194.1 MB / 1.357 GB, free: 1.008 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.959, allocations: 10.04 MB / 1.367 GB, free: 6.945 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.9599, allocations: 31.81 kB / 1.367 GB, free: 6.914 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.961, allocations: 404.9 kB / 1.367 GB, free: 6.516 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.9639, allocations: 1.081 MB / 1.368 GB, free: 5.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.9669, allocations: 1.313 MB / 1.369 GB, free: 4.117 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.9689, allocations: 1.702 MB / 1.371 GB, free: 2.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.9701, allocations: 0.8354 MB / 1.372 GB, free: 1.551 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.9729, allocations: 1.456 MB / 1.373 GB, free: 92 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.9737, allocations: 0.529 MB / 1.374 GB, free: 15.56 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.9738, allocations: 60 kB / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.9763, allocations: 1.418 MB / 1.375 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.9767, allocations: 347.1 kB / 1.376 GB, free: 13.74 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.9772, allocations: 445.7 kB / 1.376 GB, free: 13.3 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.9794, allocations: 1.499 MB / 1.378 GB, free: 11.8 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.9794, allocations: 0 / 1.378 GB, free: 11.8 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9795, allocations: 0 / 1.378 GB, free: 11.8 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.9795, allocations: 0 / 1.378 GB, free: 11.8 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.001593/0.9811, allocations: 1.146 MB / 1.379 GB, free: 10.6 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9811, allocations: 8.922 kB / 1.379 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.9829, allocations: 294.6 kB / 1.379 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.9839, allocations: 0.57 MB / 1.379 GB, free: 9.691 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.984, allocations: 50 kB / 1.38 GB, free: 9.641 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.9841, allocations: 83.98 kB / 1.38 GB, free: 9.559 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.9854, allocations: 0.8947 MB / 1.38 GB, free: 8.605 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.9854, allocations: 7.875 kB / 1.38 GB, free: 8.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.9855, allocations: 31.98 kB / 1.381 GB, free: 8.566 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.9856, allocations: 41.3 kB / 1.381 GB, free: 8.527 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009866/0.9866, allocations: 0.5826 MB / 1.381 GB, free: 7.945 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.003451/0.99, allocations: 3.478 MB / 1.385 GB, free: 4.277 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.9904, allocations: 231.6 kB / 1.385 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.9906, allocations: 142.8 kB / 1.385 GB, free: 3.875 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/0.9914, allocations: 489.4 kB / 1.385 GB, free: 3.305 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.9914, allocations: 38.52 kB / 1.385 GB, free: 3.258 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 2.856e-06/0.9914, allocations: 4 kB / 1.385 GB, free: 3.254 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001169/0.9926, allocations: 446.6 kB / 1.386 GB, free: 2.812 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.9927, allocations: 115 kB / 1.386 GB, free: 2.676 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.9936, allocations: 0.8722 MB / 1.387 GB, free: 1.793 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.9937, allocations: 29.7 kB / 1.387 GB, free: 1.758 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.994, allocations: 379.8 kB / 1.387 GB, free: 1.383 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.994, allocations: 70.95 kB / 1.387 GB, free: 1.312 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.9941, allocations: 65.59 kB / 1.387 GB, free: 1.242 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.9942, allocations: 314 kB / 1.388 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.9945, allocations: 107.9 kB / 1.388 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.9948, allocations: 208.1 kB / 1.388 GB, free: 0.582 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.9953, allocations: 313.2 kB / 1.388 GB, free: 244 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9953, allocations: 0 / 1.388 GB, free: 244 kB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006839/0.996, allocations: 404.2 kB / 1.389 GB, free: 15.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.996, allocations: 8 kB / 1.389 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.996, allocations: 3.984 kB / 1.389 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.996, allocations: 8 kB / 1.389 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.9963, allocations: 59.91 kB / 1.389 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.9964, allocations: 7.938 kB / 1.389 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.9968, allocations: 83.27 kB / 1.389 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.9968, allocations: 20 kB / 1.389 GB, free: 15.65 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.0002486/0.9971, allocations: 229.7 kB / 1.389 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.9972, allocations: 79.06 kB / 1.389 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.9978, allocations: 323 kB / 1.389 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.9978, allocations: 7.922 kB / 1.389 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9978, allocations: 4 kB / 1.389 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.9981, allocations: 188 kB / 1.39 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.9982, allocations: 4 kB / 1.39 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.9986, allocations: 11.98 kB / 1.39 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.9986, allocations: 11.98 kB / 1.39 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006428/0.9993, allocations: 491.2 kB / 1.39 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006216/0.9999, allocations: 0.6229 MB / 1.391 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001954/1, allocations: 101.8 kB / 1.391 GB, free: 13.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007158/1.001, allocations: 0.6162 MB / 1.391 GB, free: 12.93 MB / 1.123 GB Notification: Performance of Backend: time 4.3e-07/1.001, allocations: 0 / 1.391 GB, free: 12.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.002, allocations: 0.5351 MB / 1.392 GB, free: 12.4 MB / 1.123 GB Notification: Performance of SimCode: time 0.002795/1.005, allocations: 1.901 MB / 1.394 GB, free: 10.45 MB / 1.123 GB Notification: Performance of Templates: time 0.02607/1.031, allocations: 17.14 MB / 1.41 GB, free: 9.512 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