Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008846/0.0008845, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009184/0.0009184, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5883, allocations: 153.6 MB / 1.021 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1628/0.7512, allocations: 161 MB / 1.178 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.762, allocations: 8.431 MB / 1.186 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.7632, allocations: 23.81 kB / 1.186 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.7646, allocations: 422 kB / 1.187 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.7672, allocations: 1.001 MB / 1.188 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.7696, allocations: 0.9303 MB / 1.189 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.771, allocations: 1.005 MB / 1.19 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008574/0.7718, allocations: 0.6276 MB / 1.19 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.7739, allocations: 0.9892 MB / 1.191 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.7743, allocations: 354.5 kB / 1.191 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.7744, allocations: 39.94 kB / 1.191 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.7757, allocations: 0.5695 MB / 1.192 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.776, allocations: 295.2 kB / 1.192 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.7762, allocations: 185.3 kB / 1.192 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.7773, allocations: 0.8456 MB / 1.193 GB, free: 88 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7773, allocations: 0 / 1.193 GB, free: 88 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7773, allocations: 0 / 1.193 GB, free: 88 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.7773, allocations: 0 / 1.193 GB, free: 88 kB / 0.9356 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.001429/0.7787, allocations: 0.9627 MB / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.7788, allocations: 11.98 kB / 1.194 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.7806, allocations: 294.6 kB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.7815, allocations: 0.5159 MB / 1.195 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.7815, allocations: 62 kB / 1.195 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.7816, allocations: 68 kB / 1.195 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.7829, allocations: 0.9024 MB / 1.196 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.783, allocations: 0 / 1.196 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.783, allocations: 28 kB / 1.196 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/0.7831, allocations: 49.23 kB / 1.196 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.7841, allocations: 0.5788 MB / 1.197 GB, free: 12.47 MB / 0.9512 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.00353/0.7877, allocations: 3.501 MB / 1.2 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.788, allocations: 235.6 kB / 1.2 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/0.7885, allocations: 145 kB / 1.2 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.7885, allocations: 34.56 kB / 1.201 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.7885, allocations: 4 kB / 1.201 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.001271/0.7898, allocations: 474.5 kB / 1.201 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.7899, allocations: 106.8 kB / 1.201 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.7909, allocations: 0.8567 MB / 1.202 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.7909, allocations: 29.7 kB / 1.202 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.7912, allocations: 387.8 kB / 1.202 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.7913, allocations: 74.86 kB / 1.202 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.7913, allocations: 4 kB / 1.202 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7914, allocations: 325.9 kB / 1.203 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.7916, allocations: 103.9 kB / 1.203 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.792, allocations: 219 kB / 1.203 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.7922, allocations: 137.8 kB / 1.203 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7922, allocations: 0 / 1.203 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006849/0.7929, allocations: 412.2 kB / 1.204 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.793, allocations: 8 kB / 1.204 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.793, allocations: 0 / 1.204 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.793, allocations: 8 kB / 1.204 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.7933, allocations: 64.25 kB / 1.204 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7933, allocations: 7.938 kB / 1.204 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.7938, allocations: 91.03 kB / 1.204 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.7938, allocations: 16 kB / 1.204 GB, free: 4.945 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.7941, allocations: 239.2 kB / 1.204 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.7942, allocations: 79.06 kB / 1.204 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.7949, allocations: 328.7 kB / 1.204 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7949, allocations: 7.938 kB / 1.204 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7949, allocations: 4 kB / 1.204 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7949, allocations: 4 kB / 1.204 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.7969, allocations: 1.385 MB / 1.206 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7969, allocations: 11.95 kB / 1.206 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.7972, allocations: 51.97 kB / 1.206 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7972, allocations: 4.531 kB / 1.206 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.7972, allocations: 16 kB / 1.206 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7972, allocations: 4 kB / 1.206 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.7972, allocations: 7.938 kB / 1.206 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.798, allocations: 0.7141 MB / 1.206 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.7983, allocations: 196 kB / 1.207 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.092e-05/0.7984, allocations: 7.984 kB / 1.207 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.7987, allocations: 35.89 kB / 1.207 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7988, allocations: 31.86 kB / 1.207 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.7988, allocations: 8 kB / 1.207 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007294/0.7996, allocations: 0.6083 MB / 1.207 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7996, allocations: 0 / 1.207 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00057/0.8002, allocations: 159.8 kB / 1.208 GB, free: 0.75 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003862/0.8005, allocations: 201.1 kB / 1.208 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.8011, allocations: 274.3 kB / 1.208 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.8011, allocations: 4 kB / 1.208 GB, free: 288 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.8014, allocations: 137.2 kB / 1.208 GB, free: 152 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.8032, allocations: 409.6 kB / 1.208 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.8049, allocations: 1.416 MB / 1.21 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.8055, allocations: 1.011 MB / 1.211 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005335/0.806, allocations: 162.2 kB / 1.211 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.8062, allocations: 51.38 kB / 1.211 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.8062, allocations: 0 / 1.211 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of Templates: time 0.02093/0.8271, allocations: 12.68 MB / 1.223 GB, free: 0.5273 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches