Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.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.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valAut100.m_flow|valAut75.m_flow|valAut50.m_flow|valAut33.m_flow|valAut25.m_flow|valAut50Ove.m_flow|valAut33Bal.m_flow|valAut100.dp|valAut75.dp|valAut50.dp|valAut33.dp|valAut25.dp|valAut50Ove.dp|valAut33Bal.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") translateModel(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valAut100.m_flow|valAut75.m_flow|valAut50.m_flow|valAut33.m_flow|valAut25.m_flow|valAut50Ove.m_flow|valAut33Bal.m_flow|valAut100.dp|valAut75.dp|valAut50.dp|valAut33.dp|valAut25.dp|valAut50Ove.dp|valAut33Bal.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009942/0.0009943, 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.001006/0.001006, 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6799, allocations: 153.7 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.04885/0.7288, allocations: 48.86 MB / 1.069 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.7465, allocations: 11.64 MB / 1.08 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.7493, allocations: 55.5 kB / 1.08 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.7523, allocations: 0.719 MB / 1.081 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00941/0.7618, allocations: 2.646 MB / 1.083 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005075/0.7669, allocations: 1.697 MB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00595/0.7728, allocations: 2.641 MB / 1.087 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.775, allocations: 1.091 MB / 1.089 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.7789, allocations: 1.487 MB / 1.09 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.7809, allocations: 0.9139 MB / 1.091 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.7811, allocations: 60 kB / 1.091 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.7836, allocations: 0.7958 MB / 1.092 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.784, allocations: 270.8 kB / 1.092 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.7846, allocations: 360.7 kB / 1.092 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.7866, allocations: 1.479 MB / 1.094 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7866, allocations: 0 / 1.094 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7866, allocations: 0 / 1.094 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.403e-05/0.7866, allocations: 4 kB / 1.094 GB, free: 6.285 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003078/0.7897, allocations: 1.804 MB / 1.096 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7898, allocations: 11.98 kB / 1.096 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.7901, allocations: 209.6 kB / 1.096 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.792, allocations: 1.068 MB / 1.097 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.7921, allocations: 78 kB / 1.097 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.7922, allocations: 104 kB / 1.097 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.7935, allocations: 0.7179 MB / 1.098 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.7935, allocations: 0 / 1.098 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.7936, allocations: 36 kB / 1.098 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.7936, allocations: 20 kB / 1.098 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009978/0.7946, allocations: 0.5504 MB / 1.098 GB, free: 1.578 MB / 0.8419 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.005522/0.8001, allocations: 4.05 MB / 1.102 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.8011, allocations: 469.1 kB / 1.103 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.8015, allocations: 0.5069 MB / 1.103 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.8015, allocations: 39 kB / 1.103 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=51): time 2.915e-06/0.8015, allocations: 0 / 1.103 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=51): time 0.004415/0.8059, allocations: 1.694 MB / 1.105 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.806, allocations: 55.84 kB / 1.105 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.8077, allocations: 1.333 MB / 1.106 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.8078, allocations: 49.7 kB / 1.106 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.8083, allocations: 0.6891 MB / 1.107 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.8085, allocations: 177.4 kB / 1.107 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.8085, allocations: 8 kB / 1.107 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8087, allocations: 334 kB / 1.107 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.809, allocations: 173.2 kB / 1.108 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.8096, allocations: 450.8 kB / 1.108 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.8101, allocations: 243.3 kB / 1.108 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8101, allocations: 0 / 1.108 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002625/0.8127, allocations: 1.008 MB / 1.109 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.8129, allocations: 382.5 kB / 1.11 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8129, allocations: 4 kB / 1.11 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.8146, allocations: 356.7 kB / 1.11 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.8152, allocations: 115.8 kB / 1.11 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.8175, allocations: 3.978 MB / 1.114 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.819, allocations: 179.3 kB / 1.114 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.8191, allocations: 31.98 kB / 1.114 GB, free: 264 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.8191, allocations: 4 kB / 1.114 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001491/0.8206, allocations: 0.6803 MB / 1.115 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8206, allocations: 3.984 kB / 1.115 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.8212, allocations: 212.9 kB / 1.115 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.8217, allocations: 99.88 kB / 1.115 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.8284, allocations: 8.957 MB / 1.124 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.8299, allocations: 163.5 kB / 1.124 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.83, allocations: 23.98 kB / 1.124 GB, free: 5.262 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006231/0.8307, allocations: 354.9 kB / 1.124 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.8309, allocations: 154 kB / 1.124 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.8327, allocations: 0.9486 MB / 1.125 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.8327, allocations: 8 kB / 1.125 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.8327, allocations: 0 / 1.125 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.8327, allocations: 11.94 kB / 1.125 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.8357, allocations: 1.935 MB / 1.127 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.8357, allocations: 0 / 1.127 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.836, allocations: 71.91 kB / 1.127 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000513/0.8365, allocations: 229 kB / 1.128 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.8366, allocations: 19.98 kB / 1.128 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.8387, allocations: 3.948 MB / 1.131 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8388, allocations: 7.984 kB / 1.131 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.8403, allocations: 1.071 MB / 1.133 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/0.8409, allocations: 306.8 kB / 1.133 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.8411, allocations: 12 kB / 1.133 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.8418, allocations: 91.75 kB / 1.133 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.8419, allocations: 36.52 kB / 1.133 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.8419, allocations: 23.98 kB / 1.133 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001135/0.843, allocations: 0.8934 MB / 1.134 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8431, allocations: 0 / 1.134 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002103/0.8452, allocations: 0.729 MB / 1.135 GB, free: 10 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 5,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006942/0.8459, allocations: 398.6 kB / 1.135 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.8487, allocations: 1.582 MB / 1.136 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8487, allocations: 0 / 1.136 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.8494, allocations: 331.3 kB / 1.137 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.8529, allocations: 0.6989 MB / 1.137 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.8564, allocations: 2.7 MB / 1.14 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/0.8572, allocations: 1.269 MB / 1.141 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001043/0.8582, allocations: 251.3 kB / 1.142 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.8584, allocations: 99.41 kB / 1.142 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of SimCode: time 1.834e-06/0.8584, allocations: 3.938 kB / 1.142 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of Templates: time 0.04655/0.905, allocations: 28.04 MB / 1.169 GB, free: 6.922 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & ./Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop.csv","../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches