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.009708/0.009708, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002161/0.002161, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 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.437/2.437, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8961, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2318/1.128, allocations: 194.1 MB / 1.356 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01812/1.146, allocations: 10.04 MB / 1.366 GB, free: 6.918 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/1.148, allocations: 27.81 kB / 1.366 GB, free: 6.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.149, allocations: 401 kB / 1.366 GB, free: 6.496 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004186/1.154, allocations: 1.081 MB / 1.367 GB, free: 5.41 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/1.158, allocations: 1.32 MB / 1.369 GB, free: 4.09 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002902/1.161, allocations: 1.694 MB / 1.37 GB, free: 2.391 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.163, allocations: 0.8467 MB / 1.371 GB, free: 1.523 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/1.167, allocations: 1.452 MB / 1.373 GB, free: 68 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/1.168, allocations: 0.5289 MB / 1.373 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/1.168, allocations: 63.98 kB / 1.373 GB, free: 15.47 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/1.172, allocations: 1.418 MB / 1.375 GB, free: 14.05 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004903/1.172, allocations: 343.1 kB / 1.375 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005965/1.173, allocations: 441.7 kB / 1.375 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/1.176, allocations: 1.508 MB / 1.377 GB, free: 11.77 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.176, allocations: 0 / 1.377 GB, free: 11.77 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.405e-06/1.176, allocations: 0 / 1.377 GB, free: 11.77 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.176, allocations: 0 / 1.377 GB, free: 11.77 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.002093/1.178, allocations: 1.171 MB / 1.378 GB, free: 10.55 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.178, allocations: 12.92 kB / 1.378 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/1.181, allocations: 299.1 kB / 1.378 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/1.182, allocations: 0.5744 MB / 1.379 GB, free: 9.625 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/1.182, allocations: 65.98 kB / 1.379 GB, free: 9.559 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.182, allocations: 71.98 kB / 1.379 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.184, allocations: 0.8947 MB / 1.38 GB, free: 8.535 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.184, allocations: 7.938 kB / 1.38 GB, free: 8.527 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/1.184, allocations: 31.98 kB / 1.38 GB, free: 8.496 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/1.185, allocations: 41.23 kB / 1.38 GB, free: 8.457 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/1.186, allocations: 0.571 MB / 1.38 GB, free: 7.887 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.004846/1.191, allocations: 3.498 MB / 1.384 GB, free: 4.199 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/1.191, allocations: 227.7 kB / 1.384 GB, free: 3.949 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.192, allocations: 142.5 kB / 1.384 GB, free: 3.801 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008356/1.192, allocations: 493.4 kB / 1.385 GB, free: 3.227 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.192, allocations: 34.56 kB / 1.385 GB, free: 3.184 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/1.192, allocations: 4 kB / 1.385 GB, free: 3.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001315/1.194, allocations: 447.4 kB / 1.385 GB, free: 2.738 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.194, allocations: 115 kB / 1.385 GB, free: 2.602 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.195, allocations: 0.8683 MB / 1.386 GB, free: 1.723 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/1.195, allocations: 33.64 kB / 1.386 GB, free: 1.684 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/1.195, allocations: 384.2 kB / 1.387 GB, free: 1.305 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/1.195, allocations: 87.3 kB / 1.387 GB, free: 1.219 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.196, allocations: 53.7 kB / 1.387 GB, free: 1.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.196, allocations: 318 kB / 1.387 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/1.196, allocations: 103.9 kB / 1.387 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/1.196, allocations: 212 kB / 1.387 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/1.197, allocations: 310.8 kB / 1.388 GB, free: 156 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/1.197, allocations: 7.938 kB / 1.388 GB, free: 148 kB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007398/1.197, allocations: 399.4 kB / 1.388 GB, free: 15.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.197, allocations: 8 kB / 1.388 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.198, allocations: 4 kB / 1.388 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.198, allocations: 4 kB / 1.388 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/1.198, allocations: 63.84 kB / 1.388 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.198, allocations: 7.938 kB / 1.388 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/1.198, allocations: 87.52 kB / 1.388 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/1.198, allocations: 16 kB / 1.388 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.0003051/1.199, allocations: 237.6 kB / 1.388 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/1.199, allocations: 83.48 kB / 1.388 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/1.2, allocations: 323 kB / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.2, allocations: 7.938 kB / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.2, allocations: 4 kB / 1.389 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.2, allocations: 4 kB / 1.389 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/1.202, allocations: 1.37 MB / 1.39 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.202, allocations: 4 kB / 1.39 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/1.202, allocations: 39.92 kB / 1.39 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.202, allocations: 4 kB / 1.39 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/1.202, allocations: 19.92 kB / 1.39 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.202, allocations: 4 kB / 1.39 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.202, allocations: 15.92 kB / 1.39 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/1.203, allocations: 0.5182 MB / 1.391 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/1.203, allocations: 188.5 kB / 1.391 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.203, allocations: 12 kB / 1.391 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/1.203, allocations: 15.92 kB / 1.391 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/1.204, allocations: 27.91 kB / 1.391 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/1.204, allocations: 19.94 kB / 1.391 GB, free: 12.47 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007702/1.204, allocations: 0.6122 MB / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.204, allocations: 0 / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006287/1.205, allocations: 159.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.0004567/1.205, allocations: 195.9 kB / 1.392 GB, free: 11.52 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006243/1.206, allocations: 267.4 kB / 1.392 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.206, allocations: 0 / 1.392 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/1.206, allocations: 133.5 kB / 1.392 GB, free: 11.13 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.208, allocations: 419.6 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.001927/1.21, allocations: 1.275 MB / 1.394 GB, free: 9.359 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/1.211, allocations: 0.9878 MB / 1.395 GB, free: 8.344 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005209/1.211, allocations: 158.2 kB / 1.395 GB, free: 8.188 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/1.211, allocations: 47.44 kB / 1.395 GB, free: 8.141 MB / 1.123 GB Notification: Performance of SimCode: time 7.71e-07/1.211, allocations: 0 / 1.395 GB, free: 8.141 MB / 1.123 GB Notification: Performance of Templates: time 0.02403/1.235, allocations: 13.77 MB / 1.408 GB, free: 10.59 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/jenkins/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