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.001119/0.001119, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00982/0.00982, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 9.344 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1998/0.5428, allocations: 189.3 MB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6559/1.199, allocations: 9.907 MB / 1.253 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/1.2, allocations: 24.78 kB / 1.253 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008629/1.201, allocations: 311.7 kB / 1.254 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/1.203, allocations: 0.9669 MB / 1.255 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/1.206, allocations: 1.19 MB / 1.256 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002694/1.209, allocations: 2.337 MB / 1.258 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/1.21, allocations: 0.702 MB / 1.259 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/1.213, allocations: 1.296 MB / 1.26 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/1.214, allocations: 0.5235 MB / 1.26 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/1.214, allocations: 34.38 kB / 1.26 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/1.217, allocations: 1.653 MB / 1.262 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000432/1.217, allocations: 321.9 kB / 1.262 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/1.218, allocations: 417.7 kB / 1.263 GB, free: 18.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/1.22, allocations: 1.555 MB / 1.264 GB, free: 18.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.221, allocations: 0.6562 kB / 1.264 GB, free: 18.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.955e-06/1.221, allocations: 0 / 1.264 GB, free: 18.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.221, allocations: 0 / 1.264 GB, free: 18.57 MB / 1.014 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.001426/1.222, allocations: 0.9821 MB / 1.265 GB, free: 17.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.222, allocations: 10.73 kB / 1.265 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/1.224, allocations: 295.7 kB / 1.266 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/1.225, allocations: 0.531 MB / 1.266 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/1.225, allocations: 58.58 kB / 1.266 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/1.225, allocations: 71.7 kB / 1.266 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/1.226, allocations: 0.9056 MB / 1.267 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.226, allocations: 4.922 kB / 1.267 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/1.226, allocations: 29.94 kB / 1.267 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/1.226, allocations: 40.05 kB / 1.267 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.228, allocations: 0.5867 MB / 1.268 GB, free: 17.38 MB / 1.014 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.004094/1.232, allocations: 3.504 MB / 1.271 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/1.232, allocations: 237.6 kB / 1.271 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/1.232, allocations: 149.1 kB / 1.271 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009453/1.233, allocations: 0.4946 MB / 1.272 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.233, allocations: 37.73 kB / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 4.98e-06/1.233, allocations: 0 / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001484/1.235, allocations: 467.4 kB / 1.272 GB, free: 14.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/1.235, allocations: 112.7 kB / 1.273 GB, free: 14.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.237, allocations: 0.8654 MB / 1.273 GB, free: 14.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/1.237, allocations: 33.27 kB / 1.273 GB, free: 14.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.237, allocations: 386.5 kB / 1.274 GB, free: 14.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/1.237, allocations: 75.7 kB / 1.274 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/1.237, allocations: 29.75 kB / 1.274 GB, free: 14.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.237, allocations: 318.9 kB / 1.274 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/1.237, allocations: 109 kB / 1.274 GB, free: 13.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/1.238, allocations: 213.7 kB / 1.275 GB, free: 13.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/1.238, allocations: 324.5 kB / 1.275 GB, free: 13.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.238, allocations: 2.188 kB / 1.275 GB, free: 13.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008658/1.239, allocations: 416.3 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.239, allocations: 7.203 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.239, allocations: 7.031 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/1.239, allocations: 5.344 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/1.24, allocations: 69.2 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/1.24, allocations: 5.781 kB / 1.275 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/1.24, allocations: 95.98 kB / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/1.24, allocations: 17.06 kB / 1.275 GB, free: 13.36 MB / 1.014 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.0003968/1.241, allocations: 232.7 kB / 1.276 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.241, allocations: 81.98 kB / 1.276 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/1.242, allocations: 333.7 kB / 1.276 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.242, allocations: 3.203 kB / 1.276 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.242, allocations: 4.281 kB / 1.276 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.242, allocations: 1.812 kB / 1.276 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.244, allocations: 1.377 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.244, allocations: 3.969 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/1.245, allocations: 53.12 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.245, allocations: 5.344 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.245, allocations: 9.531 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.245, allocations: 10.14 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.245, allocations: 8.5 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/1.246, allocations: 0.531 MB / 1.278 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/1.246, allocations: 190.5 kB / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/1.246, allocations: 7.891 kB / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/1.246, allocations: 33.72 kB / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/1.246, allocations: 30.09 kB / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.246, allocations: 13.12 kB / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001161/1.248, allocations: 0.61 MB / 1.279 GB, free: 11.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.248, allocations: 0 / 1.279 GB, free: 11.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009422/1.249, allocations: 160.9 kB / 1.279 GB, free: 11.96 MB / 1.014 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.0006924/1.249, allocations: 196 kB / 1.279 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007509/1.25, allocations: 264.6 kB / 1.279 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.25, allocations: 0 / 1.279 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/1.25, allocations: 137.6 kB / 1.28 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.253, allocations: 415.6 kB / 1.28 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/1.255, allocations: 1.486 MB / 1.281 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/1.256, allocations: 0.9946 MB / 1.282 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006518/1.256, allocations: 160.5 kB / 1.283 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1.257, allocations: 48.12 kB / 1.283 GB, free: 10.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.924e-06/1.257, allocations: 1.375 kB / 1.283 GB, free: 10.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02561/1.282, allocations: 13.05 MB / 1.295 GB, free: 9.434 MB / 1.014 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/jenkins/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