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.0017/0.0017, allocations: 108 kB / 15.61 MB, free: 148 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.001878/0.001879, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.81/2.81, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6398, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2555/0.8954, allocations: 194.1 MB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.9096, allocations: 10.02 MB / 1.217 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.9107, allocations: 31.81 kB / 1.217 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.9118, allocations: 397 kB / 1.217 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.9148, allocations: 1.023 MB / 1.218 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.9182, allocations: 1.303 MB / 1.219 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.9203, allocations: 1.686 MB / 1.221 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.9215, allocations: 0.8393 MB / 1.222 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.925, allocations: 1.417 MB / 1.223 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008234/0.9258, allocations: 0.525 MB / 1.224 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.9259, allocations: 60 kB / 1.224 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.9289, allocations: 1.403 MB / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.9292, allocations: 343.1 kB / 1.225 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.9298, allocations: 445.7 kB / 1.226 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.9323, allocations: 1.48 MB / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9323, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9323, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.9323, allocations: 4 kB / 1.227 GB, free: 10.58 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.001778/0.9341, allocations: 1.142 MB / 1.228 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9342, allocations: 12.03 kB / 1.228 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.936, allocations: 290.6 kB / 1.229 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.9369, allocations: 0.531 MB / 1.229 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.9369, allocations: 58 kB / 1.229 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.937, allocations: 79.97 kB / 1.229 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.9385, allocations: 0.9024 MB / 1.23 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.9385, allocations: 0 / 1.23 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.9386, allocations: 35.98 kB / 1.23 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.9387, allocations: 37.23 kB / 1.23 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.9398, allocations: 0.5788 MB / 1.231 GB, free: 6.766 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.003928/0.9437, allocations: 3.505 MB / 1.234 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.9441, allocations: 225.4 kB / 1.235 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.9444, allocations: 142.5 kB / 1.235 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.9455, allocations: 493.4 kB / 1.235 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.9455, allocations: 42.48 kB / 1.235 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/0.9455, allocations: 0 / 1.235 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001436/0.947, allocations: 450.7 kB / 1.236 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.9471, allocations: 114.7 kB / 1.236 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.9483, allocations: 0.8605 MB / 1.237 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.9484, allocations: 33.7 kB / 1.237 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.9487, allocations: 383.8 kB / 1.237 GB, free: 192 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.9488, allocations: 74.91 kB / 1.237 GB, free: 116 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.949, allocations: 65.64 kB / 1.237 GB, free: 44 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9491, allocations: 318 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.9494, allocations: 99.92 kB / 1.237 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.9498, allocations: 207.1 kB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.9503, allocations: 312.5 kB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9503, allocations: 4 kB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008025/0.9511, allocations: 406.2 kB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.9512, allocations: 4 kB / 1.238 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9512, allocations: 4.344 kB / 1.238 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.9512, allocations: 8 kB / 1.238 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.9516, allocations: 63.84 kB / 1.238 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9516, allocations: 7.938 kB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.9521, allocations: 86.95 kB / 1.239 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.9521, allocations: 12 kB / 1.239 GB, free: 14.45 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.0003044/0.9524, allocations: 229.7 kB / 1.239 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.9526, allocations: 79 kB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/0.9532, allocations: 330.5 kB / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.9533, allocations: 3.938 kB / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9533, allocations: 4 kB / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9533, allocations: 0 / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.9556, allocations: 1.373 MB / 1.241 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9556, allocations: 4 kB / 1.241 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.9558, allocations: 43.92 kB / 1.241 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.9558, allocations: 4.531 kB / 1.241 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.9559, allocations: 19.94 kB / 1.241 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.9559, allocations: 7.984 kB / 1.241 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.9559, allocations: 7.938 kB / 1.241 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.9566, allocations: 0.5119 MB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.9569, allocations: 192 kB / 1.241 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.957, allocations: 8 kB / 1.241 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.9573, allocations: 19.92 kB / 1.241 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.9574, allocations: 27.92 kB / 1.241 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.9574, allocations: 11.94 kB / 1.241 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008499/0.9583, allocations: 0.6122 MB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9583, allocations: 0 / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006306/0.9589, allocations: 167.7 kB / 1.242 GB, free: 10.61 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.0004904/0.9594, allocations: 184.9 kB / 1.242 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.96, allocations: 260.9 kB / 1.243 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.96, allocations: 128 / 1.243 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.9603, allocations: 131.7 kB / 1.243 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.9622, allocations: 417.5 kB / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.9643, allocations: 1.269 MB / 1.244 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.965, allocations: 0.9878 MB / 1.245 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005766/0.9656, allocations: 170.2 kB / 1.245 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.9657, allocations: 47.44 kB / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.9657, allocations: 3.938 kB / 1.245 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of Templates: time 0.5508/1.517, allocations: 13.7 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=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