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.001573/0.001573, allocations: 108 kB / 15.6 MB, free: 132 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.001854/0.001854, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.536/2.536, allocations: 437 MB / 0.7103 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.88 kB / 0.8692 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7072, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2008/0.9081, allocations: 194.1 MB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.9193, allocations: 10.03 MB / 1.217 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000798/0.9202, allocations: 31.81 kB / 1.217 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.9211, allocations: 393 kB / 1.217 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.9235, allocations: 1.03 MB / 1.218 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.9263, allocations: 1.29 MB / 1.219 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.928, allocations: 1.69 MB / 1.221 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.929, allocations: 0.8393 MB / 1.222 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.9317, allocations: 1.409 MB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.9323, allocations: 0.5328 MB / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.37e-05/0.9324, allocations: 64 kB / 1.224 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.9347, allocations: 1.407 MB / 1.225 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.9351, allocations: 343.1 kB / 1.225 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.9355, allocations: 433.7 kB / 1.226 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.9373, allocations: 1.484 MB / 1.227 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9373, allocations: 8 kB / 1.227 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9373, allocations: 0 / 1.227 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.9373, allocations: 0 / 1.227 GB, free: 10.66 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.001461/0.9388, allocations: 1.134 MB / 1.228 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.9389, allocations: 8.031 kB / 1.228 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.9405, allocations: 302.6 kB / 1.229 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.9413, allocations: 0.531 MB / 1.229 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.9414, allocations: 57.98 kB / 1.229 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.9415, allocations: 72 kB / 1.229 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.9427, allocations: 0.9024 MB / 1.23 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.9428, allocations: 4 kB / 1.23 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.9428, allocations: 32 kB / 1.23 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.9429, allocations: 37.3 kB / 1.23 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.9439, allocations: 0.5748 MB / 1.231 GB, free: 6.859 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.003334/0.9472, allocations: 3.517 MB / 1.234 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.9476, allocations: 223.7 kB / 1.235 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.9479, allocations: 146.5 kB / 1.235 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/0.9487, allocations: 485.4 kB / 1.235 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.9487, allocations: 46.44 kB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.806e-06/0.9487, allocations: 0 / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001269/0.95, allocations: 451 kB / 1.236 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.9501, allocations: 106.8 kB / 1.236 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.9511, allocations: 0.8645 MB / 1.237 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.9512, allocations: 33.7 kB / 1.237 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.9515, allocations: 383.9 kB / 1.237 GB, free: 280 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.9516, allocations: 82.83 kB / 1.237 GB, free: 196 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.9517, allocations: 57.7 kB / 1.237 GB, free: 132 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9518, allocations: 318 kB / 1.237 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.9521, allocations: 107.9 kB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.9524, allocations: 203.1 kB / 1.238 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.9529, allocations: 319.9 kB / 1.238 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9529, allocations: 0 / 1.238 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000642/0.9535, allocations: 397.6 kB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.9536, allocations: 4.344 kB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9536, allocations: 8 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9536, allocations: 4 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.9539, allocations: 63.84 kB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9539, allocations: 11.94 kB / 1.238 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.9543, allocations: 83.02 kB / 1.239 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.9544, allocations: 19.98 kB / 1.239 GB, free: 14.53 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.9546, allocations: 227.2 kB / 1.239 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.9547, allocations: 83.06 kB / 1.239 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.9553, allocations: 320.7 kB / 1.239 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9554, allocations: 7.938 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9554, allocations: 0 / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9554, allocations: 4 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.9572, allocations: 1.365 MB / 1.24 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9573, allocations: 4 kB / 1.24 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.9575, allocations: 44.44 kB / 1.241 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.9575, allocations: 12.09 kB / 1.241 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.9575, allocations: 11.94 kB / 1.241 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.9575, allocations: 8 kB / 1.241 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.9575, allocations: 11.92 kB / 1.241 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.9582, allocations: 0.5137 MB / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.9584, allocations: 184.1 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.9585, allocations: 11.98 kB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.9588, allocations: 19.94 kB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.9589, allocations: 27.91 kB / 1.241 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.9589, allocations: 11.94 kB / 1.241 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007128/0.9596, allocations: 0.6161 MB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9596, allocations: 3.938 kB / 1.242 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005354/0.9602, allocations: 163.7 kB / 1.242 GB, free: 10.69 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.0003832/0.9606, allocations: 189 kB / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.9611, allocations: 267.3 kB / 1.243 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9612, allocations: 0 / 1.243 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.9614, allocations: 127.7 kB / 1.243 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.9632, allocations: 418.6 kB / 1.243 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.9648, allocations: 1.269 MB / 1.244 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.9654, allocations: 0.9917 MB / 1.245 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004825/0.9659, allocations: 162.2 kB / 1.245 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.966, allocations: 55.44 kB / 1.245 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/0.966, allocations: 4 kB / 1.245 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of Templates: time 0.5081/1.474, allocations: 13.69 MB / 1.259 GB, free: 231.8 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/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