Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 100 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.001312/0.001312, allocations: 177.3 kB / 15.95 MB, free: 216 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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.625/2.625, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 15.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6493, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.004539/0.6539, allocations: 4.132 MB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005558/0.6594, allocations: 4.101 MB / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.6599, allocations: 11.94 kB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.6612, allocations: 493.8 kB / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.662, allocations: 394.8 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.6635, allocations: 0.5603 MB / 1.03 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.6652, allocations: 1.124 MB / 1.031 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/0.6658, allocations: 453.4 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.6664, allocations: 0.5137 MB / 1.032 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.667, allocations: 0.5795 MB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.6672, allocations: 64 kB / 1.033 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006784/0.6678, allocations: 311.7 kB / 1.033 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.6681, allocations: 239 kB / 1.033 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.6683, allocations: 265 kB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.6695, allocations: 1.56 MB / 1.035 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.6696, allocations: 0 / 1.035 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6696, allocations: 0 / 1.035 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.6696, allocations: 0 / 1.035 GB, free: 2.273 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003031/0.6726, allocations: 1.672 MB / 1.037 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6727, allocations: 11.98 kB / 1.037 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.6995, allocations: 3.868 MB / 1.041 GB, free: 12.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02743/0.727, allocations: 3.754 MB / 1.044 GB, free: 8.848 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.7271, allocations: 62 kB / 1.044 GB, free: 8.785 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.7275, allocations: 75.95 kB / 1.044 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/0.7337, allocations: 2.029 MB / 1.046 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.7337, allocations: 0 / 1.046 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.7339, allocations: 35.98 kB / 1.046 GB, free: 6.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.7339, allocations: 16 kB / 1.046 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.7397, allocations: 1.737 MB / 1.048 GB, free: 4.887 MB / 0.795 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.01076/0.7504, allocations: 7.393 MB / 1.055 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005588/0.7561, allocations: 1.829 MB / 1.057 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.7565, allocations: 388.9 kB / 1.058 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.7565, allocations: 43.11 kB / 1.058 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 3.026e-06/0.7565, allocations: 0 / 1.058 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.03601/0.7925, allocations: 8.737 MB / 1.066 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.7926, allocations: 55.97 kB / 1.066 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.7941, allocations: 1.064 MB / 1.067 GB, free: 428 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004058/0.7945, allocations: 37.7 kB / 1.067 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.795, allocations: 492.8 kB / 1.068 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.7953, allocations: 252.4 kB / 1.068 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.7955, allocations: 8 kB / 1.068 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7956, allocations: 334 kB / 1.068 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009289/0.8049, allocations: 2.277 MB / 1.071 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009458/0.8144, allocations: 2.39 MB / 1.073 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009136/0.8236, allocations: 2.017 MB / 1.075 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.8236, allocations: 0 / 1.075 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.025/0.8486, allocations: 6.036 MB / 1.081 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/0.8487, allocations: 99.97 kB / 1.081 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01927/0.868, allocations: 4.775 MB / 1.085 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08812/0.9562, allocations: 10.43 MB / 1.096 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/0.96, allocations: 387.4 kB / 1.096 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.9674, allocations: 3.044 MB / 1.099 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/0.9722, allocations: 414.8 kB / 1.099 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/0.9725, allocations: 75.91 kB / 1.099 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9725, allocations: 7.938 kB / 1.099 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02034/0.9929, allocations: 5.149 MB / 1.105 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01762/1.011, allocations: 4.549 MB / 1.109 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/1.013, allocations: 0.8237 MB / 1.11 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/1.018, allocations: 487.3 kB / 1.11 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009621/1.027, allocations: 6.317 MB / 1.116 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007053/1.034, allocations: 406.9 kB / 1.117 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006276/1.035, allocations: 71.86 kB / 1.117 GB, free: 13.31 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.001784/1.037, allocations: 480.9 kB / 1.117 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006449/1.038, allocations: 110.6 kB / 1.117 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02678/1.064, allocations: 4.776 MB / 1.122 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/1.064, allocations: 8 kB / 1.122 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.064, allocations: 0 / 1.122 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.064, allocations: 7.922 kB / 1.122 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.084, allocations: 6.549 MB / 1.128 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03616/1.12, allocations: 5.155 MB / 1.134 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.122, allocations: 187.8 kB / 1.134 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1082/1.231, allocations: 15.19 MB / 1.149 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/1.231, allocations: 47.95 kB / 1.149 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/1.238, allocations: 3.084 MB / 1.152 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.239, allocations: 4 kB / 1.152 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03719/1.276, allocations: 5.471 MB / 1.157 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.277, allocations: 499.2 kB / 1.157 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/1.278, allocations: 16 kB / 1.157 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/1.281, allocations: 235.6 kB / 1.158 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.281, allocations: 44.59 kB / 1.158 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.281, allocations: 47.95 kB / 1.158 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001131/1.282, allocations: 0.7567 MB / 1.158 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.282, allocations: 0 / 1.158 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002443/1.285, allocations: 0.7177 MB / 1.159 GB, free: 1.559 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004851/1.285, allocations: 187.3 kB / 1.159 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0238/1.309, allocations: 6.301 MB / 1.166 GB, free: 11.05 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.309, allocations: 0 / 1.166 GB, free: 11.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006201/1.315, allocations: 1.626 MB / 1.167 GB, free: 9.418 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.317, allocations: 253.4 kB / 1.167 GB, free: 9.172 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/1.326, allocations: 3.765 MB / 1.171 GB, free: 5.383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.327, allocations: 1.326 MB / 1.172 GB, free: 4.023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004315/1.332, allocations: 0.8314 MB / 1.173 GB, free: 3.188 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007826/1.332, allocations: 131.2 kB / 1.173 GB, free: 3.059 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/1.332, allocations: 3.938 kB / 1.173 GB, free: 3.055 MB / 0.92 GB Notification: Performance of Templates: time 0.09693/1.429, allocations: 64.75 MB / 1.236 GB, free: 2.43 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches