Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001016/0.001016, allocations: 92.16 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.00157/0.001569, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004254, allocations: 8.281 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7322, allocations: 142.4 MB / 0.9557 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2125/0.9448, allocations: 189.3 MB / 1.141 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.9584, allocations: 9.918 MB / 1.15 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.9597, allocations: 27.81 kB / 1.15 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.9609, allocations: 313.9 kB / 1.151 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.9641, allocations: 0.9646 MB / 1.152 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.9676, allocations: 1.194 MB / 1.153 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003011/0.9706, allocations: 2.341 MB / 1.155 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.9721, allocations: 0.7028 MB / 1.156 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.9757, allocations: 1.288 MB / 1.157 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009969/0.9767, allocations: 0.5289 MB / 1.157 GB, free: 188 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.9769, allocations: 36 kB / 1.158 GB, free: 152 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.9801, allocations: 1.644 MB / 1.159 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.9807, allocations: 327.1 kB / 1.159 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008131/0.9815, allocations: 411.6 kB / 1.16 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.9834, allocations: 1.056 MB / 1.161 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9835, allocations: 0 / 1.161 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9835, allocations: 0 / 1.161 GB, free: 12.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.762e-05/0.9835, allocations: 0 / 1.161 GB, free: 12.71 MB / 0.92 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.001873/0.9854, allocations: 0.9899 MB / 1.162 GB, free: 11.67 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9855, allocations: 8.031 kB / 1.162 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.9874, allocations: 290.6 kB / 1.162 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.9885, allocations: 0.531 MB / 1.163 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.9886, allocations: 61.98 kB / 1.163 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.9887, allocations: 72 kB / 1.163 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.9903, allocations: 0.9025 MB / 1.164 GB, free: 9.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.9903, allocations: 0 / 1.164 GB, free: 9.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.9904, allocations: 32 kB / 1.164 GB, free: 9.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.366e-05/0.9905, allocations: 45.23 kB / 1.164 GB, free: 9.641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.9916, allocations: 0.5827 MB / 1.164 GB, free: 9.055 MB / 0.92 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.004279/0.9959, allocations: 3.513 MB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.9963, allocations: 229.1 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.9966, allocations: 150.8 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/0.9975, allocations: 0.4897 MB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.9976, allocations: 42.45 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 3.096e-06/0.9976, allocations: 4 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.001333/0.9989, allocations: 466.1 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.999, allocations: 110.8 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1, allocations: 0.8683 MB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/1, allocations: 29.64 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/1.001, allocations: 391.8 kB / 1.17 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/1.001, allocations: 70.95 kB / 1.17 GB, free: 2.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/1.001, allocations: 33.7 kB / 1.17 GB, free: 2.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.001, allocations: 318 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/1.001, allocations: 107.9 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/1.002, allocations: 215.6 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/1.002, allocations: 329.2 kB / 1.171 GB, free: 1.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.002, allocations: 3.938 kB / 1.171 GB, free: 1.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008104/1.003, allocations: 408.2 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.003, allocations: 8 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.003, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.003, allocations: 12.28 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/1.003, allocations: 67.91 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.003, allocations: 8 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/1.004, allocations: 91.09 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/1.004, allocations: 16 kB / 1.172 GB, free: 0.6562 MB / 0.92 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.0003286/1.004, allocations: 233.6 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/1.004, allocations: 86.97 kB / 1.172 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/1.005, allocations: 328.7 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.005, allocations: 4 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.294e-05/1.005, allocations: 4.047 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.005, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.007, allocations: 1.373 MB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.007, allocations: 4 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.008, allocations: 48.45 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/1.008, allocations: 4 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/1.008, allocations: 15.94 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.008, allocations: 15.97 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.008, allocations: 7.938 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/1.008, allocations: 0.5175 MB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/1.009, allocations: 192 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.009, allocations: 8 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/1.009, allocations: 31.91 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/1.009, allocations: 35.8 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/1.009, allocations: 8 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008652/1.01, allocations: 0.6161 MB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.01, allocations: 0 / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000672/1.011, allocations: 163.8 kB / 1.176 GB, free: 12.77 MB / 0.9356 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.0004966/1.011, allocations: 196.2 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006244/1.012, allocations: 268.1 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.012, allocations: 4 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/1.012, allocations: 129 kB / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.015, allocations: 408.1 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/1.017, allocations: 1.55 MB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/1.018, allocations: 0.9881 MB / 1.179 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/1.018, allocations: 51.44 kB / 1.179 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of SimCode: time 1.247e-05/1.018, allocations: 0 / 1.179 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of Templates: time 0.02091/1.039, allocations: 11.88 MB / 1.191 GB, free: 13.33 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches