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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00118/0.00118, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01106/0.01106, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005238/0.000524, allocations: 13.36 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3885, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005957/0.3945, allocations: 4.715 MB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007547/0.4021, allocations: 4.588 MB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009931/0.4031, allocations: 11.94 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.4054, allocations: 0.5679 MB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.4071, allocations: 369.4 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.4094, allocations: 0.639 MB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.4119, allocations: 1.9 MB / 1.071 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007613/0.4126, allocations: 0.5269 MB / 1.072 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009286/0.4136, allocations: 0.5328 MB / 1.072 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.4144, allocations: 0.6649 MB / 1.073 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4146, allocations: 68 kB / 1.073 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008407/0.4154, allocations: 315.7 kB / 1.073 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.4156, allocations: 266.8 kB / 1.073 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.4163, allocations: 0.6272 MB / 1.074 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.4183, allocations: 1.931 MB / 1.076 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4183, allocations: 4 kB / 1.076 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4183, allocations: 0 / 1.076 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.4183, allocations: 0 / 1.076 GB, free: 3.664 MB / 0.8262 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.003123/0.4214, allocations: 1.667 MB / 1.078 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4215, allocations: 8.031 kB / 1.078 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02777/0.4493, allocations: 3.877 MB / 1.081 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02917/0.4785, allocations: 3.813 MB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.4786, allocations: 58.38 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006462/0.4793, allocations: 76.31 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/0.4859, allocations: 2.044 MB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.486, allocations: 0 / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.4862, allocations: 32 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.4862, allocations: 16 kB / 1.087 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006068/0.4922, allocations: 1.745 MB / 1.089 GB, free: 6.199 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.01049/0.5028, allocations: 7.374 MB / 1.096 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/0.5087, allocations: 1.815 MB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005437/0.5142, allocations: 1.517 MB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/0.5146, allocations: 392.9 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.5147, allocations: 39.12 kB / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.5147, allocations: 4 kB / 1.1 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.0373/0.552, allocations: 8.83 MB / 1.108 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.5521, allocations: 59.97 kB / 1.109 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.5536, allocations: 1.072 MB / 1.11 GB, free: 124 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000396/0.554, allocations: 37.7 kB / 1.11 GB, free: 80 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.5545, allocations: 492.8 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.5549, allocations: 248.4 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.5551, allocations: 57.69 kB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5553, allocations: 337.9 kB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009659/0.5649, allocations: 2.323 MB / 1.113 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009902/0.5749, allocations: 2.441 MB / 1.115 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/0.5892, allocations: 3.257 MB / 1.119 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5892, allocations: 0 / 1.119 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02579/0.615, allocations: 6.212 MB / 1.125 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.6152, allocations: 99.84 kB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02032/0.6355, allocations: 4.916 MB / 1.129 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09216/0.7277, allocations: 10.49 MB / 1.14 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/0.7318, allocations: 379.5 kB / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.7397, allocations: 3.056 MB / 1.143 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/0.745, allocations: 414.8 kB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.7453, allocations: 71.91 kB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7453, allocations: 4 kB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02213/0.7675, allocations: 5.161 MB / 1.149 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01909/0.7866, allocations: 4.56 MB / 1.153 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.7891, allocations: 0.816 MB / 1.154 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/0.7942, allocations: 487.3 kB / 1.154 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009466/0.8037, allocations: 6.136 MB / 1.16 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/0.8089, allocations: 402.9 kB / 1.161 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/0.8093, allocations: 75.91 kB / 1.161 GB, free: 11.4 MB / 0.92 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001146/0.8105, allocations: 478.3 kB / 1.161 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.8108, allocations: 110.6 kB / 1.161 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/0.8285, allocations: 4.78 MB / 1.166 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.8286, allocations: 8 kB / 1.166 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8286, allocations: 4 kB / 1.166 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.8286, allocations: 3.984 kB / 1.166 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.8478, allocations: 6.556 MB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03765/0.8855, allocations: 5.167 MB / 1.177 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/0.8876, allocations: 195.7 kB / 1.178 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1128/1, allocations: 15.21 MB / 1.192 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003547/1.001, allocations: 43.95 kB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007798/1.009, allocations: 3.096 MB / 1.196 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.009, allocations: 3.938 kB / 1.196 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04033/1.049, allocations: 5.447 MB / 1.201 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.05, allocations: 495.2 kB / 1.201 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/1.051, allocations: 16 kB / 1.201 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/1.054, allocations: 239.6 kB / 1.202 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.054, allocations: 40.59 kB / 1.202 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.054, allocations: 51.95 kB / 1.202 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00118/1.055, allocations: 0.7606 MB / 1.202 GB, free: 368 kB / 0.9512 GB Notification: Performance of sort global known variables: time 3.5e-07/1.055, allocations: 0 / 1.202 GB, free: 368 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002246/1.058, allocations: 0.714 MB / 1.203 GB, free: 15.64 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,51)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004495/1.058, allocations: 187 kB / 1.203 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02611/1.084, allocations: 6.363 MB / 1.21 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.084, allocations: 0 / 1.21 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.006493/1.091, allocations: 1.622 MB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.092, allocations: 266.2 kB / 1.211 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/1.102, allocations: 3.854 MB / 1.215 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.103, allocations: 1.306 MB / 1.216 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004137/1.107, allocations: 0.8236 MB / 1.217 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/1.108, allocations: 123.3 kB / 1.217 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of SimCode: time 2.114e-06/1.108, allocations: 4 kB / 1.217 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.6666/1.774, allocations: 66.07 MB / 1.282 GB, free: 174.7 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches