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.001626/0.001626, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001662/0.001662, allocations: 198.4 kB / 16.14 MB, free: 6.629 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.906/2.906, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003396/0.003396, allocations: 63.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.7669, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2278/0.9947, allocations: 191.9 MB / 1.204 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01488/1.01, allocations: 10.05 MB / 1.214 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/1.011, allocations: 27.81 kB / 1.214 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/1.012, allocations: 313.9 kB / 1.214 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/1.016, allocations: 0.9686 MB / 1.215 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/1.019, allocations: 1.188 MB / 1.216 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00316/1.022, allocations: 2.345 MB / 1.219 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/1.023, allocations: 0.7274 MB / 1.219 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/1.027, allocations: 1.311 MB / 1.221 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007901/1.028, allocations: 0.5562 MB / 1.221 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/1.028, allocations: 44 kB / 1.221 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/1.031, allocations: 1.648 MB / 1.223 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/1.031, allocations: 331.1 kB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/1.032, allocations: 417.8 kB / 1.223 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/1.035, allocations: 1.566 MB / 1.225 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.035, allocations: 8 kB / 1.225 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/1.035, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.192e-05/1.035, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9825 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.001843/1.037, allocations: 1.138 MB / 1.226 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.037, allocations: 8.031 kB / 1.226 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/1.039, allocations: 290.6 kB / 1.226 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/1.04, allocations: 0.5387 MB / 1.227 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/1.04, allocations: 58 kB / 1.227 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/1.04, allocations: 71.98 kB / 1.227 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.041, allocations: 0.9025 MB / 1.228 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.041, allocations: 3.938 kB / 1.228 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/1.042, allocations: 31.98 kB / 1.228 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/1.042, allocations: 45.23 kB / 1.228 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.043, allocations: 0.5709 MB / 1.229 GB, free: 8.836 MB / 0.9825 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.004476/1.047, allocations: 3.501 MB / 1.232 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/1.048, allocations: 227.7 kB / 1.232 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/1.048, allocations: 142.5 kB / 1.232 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.049, allocations: 493.4 kB / 1.233 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.049, allocations: 34.56 kB / 1.233 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/1.049, allocations: 0 / 1.233 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001275/1.05, allocations: 452.9 kB / 1.233 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/1.05, allocations: 114.8 kB / 1.233 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.052, allocations: 0.8645 MB / 1.234 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/1.052, allocations: 25.7 kB / 1.234 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/1.052, allocations: 383.7 kB / 1.235 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/1.052, allocations: 82.92 kB / 1.235 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.052, allocations: 53.7 kB / 1.235 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.052, allocations: 326 kB / 1.235 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/1.053, allocations: 95.92 kB / 1.235 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.053, allocations: 211.1 kB / 1.235 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/1.053, allocations: 308.5 kB / 1.236 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.053, allocations: 0 / 1.236 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007527/1.054, allocations: 408.3 kB / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.054, allocations: 8 kB / 1.236 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.054, allocations: 4 kB / 1.236 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.054, allocations: 4 kB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/1.055, allocations: 60.19 kB / 1.236 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.055, allocations: 8 kB / 1.236 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/1.055, allocations: 91 kB / 1.236 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/1.055, allocations: 16 kB / 1.236 GB, free: 0.5195 MB / 0.9825 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.0002921/1.056, allocations: 237.6 kB / 1.236 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.056, allocations: 83.06 kB / 1.237 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006704/1.056, allocations: 322.9 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.056, allocations: 7.938 kB / 1.237 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.056, allocations: 0 / 1.237 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.056, allocations: 0 / 1.237 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/1.059, allocations: 1.361 MB / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.059, allocations: 4 kB / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/1.059, allocations: 52.39 kB / 1.238 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.059, allocations: 8 kB / 1.238 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/1.059, allocations: 15.92 kB / 1.238 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.059, allocations: 7.938 kB / 1.238 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.059, allocations: 4 kB / 1.238 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/1.06, allocations: 0.5211 MB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/1.06, allocations: 184.1 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/1.06, allocations: 12 kB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/1.06, allocations: 31.91 kB / 1.239 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/1.06, allocations: 19.92 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/1.06, allocations: 31.92 kB / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008342/1.061, allocations: 0.6044 MB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.061, allocations: 0 / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006247/1.062, allocations: 163.7 kB / 1.24 GB, free: 12.66 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 (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.0004242/1.062, allocations: 200 kB / 1.24 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005831/1.063, allocations: 256.5 kB / 1.24 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.063, allocations: 4 kB / 1.24 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/1.063, allocations: 129.4 kB / 1.24 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/1.065, allocations: 408.2 kB / 1.241 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/1.067, allocations: 1.479 MB / 1.242 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/1.068, allocations: 0.9959 MB / 1.243 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005999/1.068, allocations: 154.2 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/1.069, allocations: 47.44 kB / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.069, allocations: 0 / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.4948/1.563, allocations: 13.1 MB / 1.256 GB, free: 230.2 MB / 0.9981 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=400 -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