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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00113/0.00113, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 183.8 kB / 16.92 MB, free: 6.684 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003796, allocations: 19.94 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.722, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2209/0.9429, allocations: 189.3 MB / 1.209 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.9579, allocations: 9.919 MB / 1.218 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.9592, allocations: 27.81 kB / 1.218 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.9604, allocations: 305.9 kB / 1.219 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.9636, allocations: 0.9647 MB / 1.22 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.9675, allocations: 1.195 MB / 1.221 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.9713, allocations: 2.334 MB / 1.223 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.9732, allocations: 0.7028 MB / 1.224 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.9779, allocations: 1.3 MB / 1.225 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.9792, allocations: 0.525 MB / 1.225 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.9794, allocations: 40 kB / 1.225 GB, free: 448 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.9839, allocations: 1.648 MB / 1.227 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007842/0.9848, allocations: 315 kB / 1.227 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009919/0.9858, allocations: 427.4 kB / 1.228 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.9882, allocations: 1.056 MB / 1.229 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.9882, allocations: 0 / 1.229 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.946e-06/0.9882, allocations: 0 / 1.229 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.67e-05/0.9883, allocations: 0 / 1.229 GB, free: 12.99 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.002323/0.9906, allocations: 0.9822 MB / 1.23 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.9907, allocations: 8.031 kB / 1.23 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.9933, allocations: 294.6 kB / 1.23 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.9947, allocations: 0.531 MB / 1.231 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.9948, allocations: 54 kB / 1.231 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.995, allocations: 79.98 kB / 1.231 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.9971, allocations: 0.8986 MB / 1.232 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.9971, allocations: 0 / 1.232 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.9972, allocations: 32 kB / 1.232 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-05/0.9973, allocations: 41.28 kB / 1.232 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.9986, allocations: 0.5944 MB / 1.232 GB, free: 9.34 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.00399/1.003, allocations: 3.509 MB / 1.236 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/1.003, allocations: 227.7 kB / 1.236 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/1.003, allocations: 146.5 kB / 1.236 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008046/1.004, allocations: 0.4935 MB / 1.237 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.004, allocations: 46.48 kB / 1.237 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/1.004, allocations: 0 / 1.237 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001337/1.006, allocations: 466.6 kB / 1.237 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/1.006, allocations: 106.8 kB / 1.237 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/1.007, allocations: 0.8683 MB / 1.238 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.007, allocations: 37.7 kB / 1.238 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/1.008, allocations: 383.8 kB / 1.238 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/1.008, allocations: 66.95 kB / 1.238 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/1.008, allocations: 29.7 kB / 1.238 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.008, allocations: 318 kB / 1.239 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/1.008, allocations: 103.9 kB / 1.239 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/1.009, allocations: 223 kB / 1.239 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/1.01, allocations: 317.2 kB / 1.239 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.01, allocations: 0 / 1.239 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001114/1.011, allocations: 413.8 kB / 1.24 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.011, allocations: 8.062 kB / 1.24 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/1.011, allocations: 4 kB / 1.24 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.011, allocations: 7.938 kB / 1.24 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/1.011, allocations: 63.91 kB / 1.24 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.011, allocations: 7.938 kB / 1.24 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/1.012, allocations: 99 kB / 1.24 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/1.012, allocations: 19.98 kB / 1.24 GB, free: 0.9688 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.0004525/1.013, allocations: 229.7 kB / 1.24 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.013, allocations: 75.06 kB / 1.24 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/1.014, allocations: 337.9 kB / 1.241 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.014, allocations: 4 kB / 1.241 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.014, allocations: 0 / 1.241 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/1.014, allocations: 0 / 1.241 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/1.017, allocations: 1.385 MB / 1.242 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.017, allocations: 12.03 kB / 1.242 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/1.017, allocations: 47.91 kB / 1.242 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.017, allocations: 4 kB / 1.242 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/1.017, allocations: 15.94 kB / 1.242 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.017, allocations: 4 kB / 1.242 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/1.017, allocations: 7.984 kB / 1.242 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/1.018, allocations: 0.5356 MB / 1.243 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/1.019, allocations: 188.1 kB / 1.243 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.019, allocations: 12 kB / 1.243 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/1.019, allocations: 35.91 kB / 1.243 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/1.019, allocations: 31.84 kB / 1.243 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/1.02, allocations: 8 kB / 1.243 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001132/1.021, allocations: 0.6199 MB / 1.243 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.021, allocations: 0 / 1.243 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000856/1.022, allocations: 167.8 kB / 1.244 GB, free: 13.07 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.0005726/1.022, allocations: 188.7 kB / 1.244 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000838/1.023, allocations: 259.8 kB / 1.244 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.023, allocations: 0 / 1.244 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/1.023, allocations: 141.3 kB / 1.244 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/1.027, allocations: 401.5 kB / 1.245 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/1.03, allocations: 1.55 MB / 1.246 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.031, allocations: 0.992 MB / 1.247 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.031, allocations: 55.42 kB / 1.247 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.031, allocations: 0 / 1.247 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of Templates: time 0.5477/1.579, allocations: 11.86 MB / 1.259 GB, free: 231.3 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=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