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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00108/0.00108, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001679/0.001679, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 8.594 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1685/0.4315, allocations: 176.6 MB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.4416, allocations: 9.341 MB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007143/0.4424, allocations: 23.81 kB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.4431, allocations: 285.9 kB / 1.24 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.4451, allocations: 0.7891 MB / 1.241 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.4478, allocations: 0.914 MB / 1.242 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.4502, allocations: 1.982 MB / 1.244 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.4511, allocations: 0.6 MB / 1.244 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.4535, allocations: 1.124 MB / 1.245 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.4541, allocations: 0.4979 MB / 1.246 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.411e-05/0.4542, allocations: 36 kB / 1.246 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.4559, allocations: 0.717 MB / 1.246 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.4563, allocations: 319 kB / 1.247 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4565, allocations: 173.3 kB / 1.247 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4576, allocations: 0.947 MB / 1.248 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4576, allocations: 0 / 1.248 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4576, allocations: 0 / 1.248 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.4576, allocations: 0 / 1.248 GB, free: 2.453 MB / 0.9981 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.0013/0.4589, allocations: 0.9861 MB / 1.249 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4589, allocations: 12.03 kB / 1.249 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.4606, allocations: 286.6 kB / 1.249 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.4613, allocations: 0.5158 MB / 1.25 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.4614, allocations: 58 kB / 1.25 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.4615, allocations: 68 kB / 1.25 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5587/1.02, allocations: 0.9015 MB / 1.251 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/1.02, allocations: 2.75 kB / 1.251 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/1.02, allocations: 31.08 kB / 1.251 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/1.02, allocations: 40.83 kB / 1.251 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/1.022, allocations: 0.5854 MB / 1.251 GB, free: 12.74 MB / 0.9981 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.003309/1.025, allocations: 3.507 MB / 1.255 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/1.025, allocations: 227.9 kB / 1.255 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/1.026, allocations: 152.2 kB / 1.255 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/1.026, allocations: 0.4899 MB / 1.255 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/1.026, allocations: 40.59 kB / 1.256 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 3.617e-06/1.026, allocations: 0.6562 kB / 1.256 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.001239/1.028, allocations: 461.4 kB / 1.256 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.028, allocations: 112.5 kB / 1.256 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/1.029, allocations: 0.8576 MB / 1.257 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/1.029, allocations: 32.05 kB / 1.257 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/1.029, allocations: 385.4 kB / 1.257 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/1.029, allocations: 76.03 kB / 1.257 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/1.029, allocations: 10 kB / 1.257 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/1.029, allocations: 316.8 kB / 1.258 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/1.029, allocations: 106.7 kB / 1.258 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/1.029, allocations: 212.8 kB / 1.258 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/1.03, allocations: 135.5 kB / 1.258 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.03, allocations: 2.594 kB / 1.258 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005973/1.03, allocations: 412.7 kB / 1.259 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.03, allocations: 6.094 kB / 1.259 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.03, allocations: 6.812 kB / 1.259 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.03, allocations: 5.594 kB / 1.259 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/1.031, allocations: 60.75 kB / 1.259 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.031, allocations: 2.5 kB / 1.259 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/1.031, allocations: 107.3 kB / 1.259 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/1.031, allocations: 12.91 kB / 1.259 GB, free: 8.898 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002147/1.031, allocations: 234.8 kB / 1.259 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.032, allocations: 82.48 kB / 1.259 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/1.032, allocations: 333.1 kB / 1.259 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.032, allocations: 2.688 kB / 1.259 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.032, allocations: 3.219 kB / 1.259 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.032, allocations: 1.219 kB / 1.259 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.034, allocations: 1.374 MB / 1.261 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.034, allocations: 6.375 kB / 1.261 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.034, allocations: 50.83 kB / 1.261 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.034, allocations: 6.125 kB / 1.261 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.034, allocations: 9.188 kB / 1.261 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.034, allocations: 12.88 kB / 1.261 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.034, allocations: 7.328 kB / 1.261 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/1.035, allocations: 0.526 MB / 1.261 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/1.035, allocations: 187.4 kB / 1.261 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/1.035, allocations: 12.7 kB / 1.261 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.035, allocations: 28.33 kB / 1.261 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/1.036, allocations: 28.62 kB / 1.262 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.036, allocations: 13.03 kB / 1.262 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007267/1.036, allocations: 0.6057 MB / 1.262 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.036, allocations: 0 / 1.262 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005699/1.037, allocations: 162.2 kB / 1.262 GB, free: 7.508 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/1.037, allocations: 197.4 kB / 1.262 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005433/1.038, allocations: 263.5 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.038, allocations: 0 / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/1.038, allocations: 133.9 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.04, allocations: 416.4 kB / 1.263 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.042, allocations: 1.426 MB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/1.042, allocations: 0.9927 MB / 1.266 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005471/1.043, allocations: 162.7 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.043, allocations: 50 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.043, allocations: 0 / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of Templates: time 0.02531/1.068, allocations: 12.69 MB / 1.278 GB, free: 5.082 MB / 0.9981 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