Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.0008958/0.0008955, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001095/0.001095, allocations: 172.7 kB / 15.95 MB, free: 208 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 12 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8369, allocations: 153.8 MB / 1.022 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005298/0.8423, allocations: 4.467 MB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006537/0.8488, allocations: 4.271 MB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.8496, allocations: 12 kB / 1.031 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.8511, allocations: 0.4917 MB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.8522, allocations: 357.6 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.8541, allocations: 0.5531 MB / 1.032 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.8562, allocations: 1.693 MB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.857, allocations: 457.4 kB / 1.034 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.8581, allocations: 0.5213 MB / 1.035 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.8589, allocations: 0.6457 MB / 1.036 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.8591, allocations: 71.94 kB / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.8599, allocations: 299.8 kB / 1.036 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.8602, allocations: 258.9 kB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.8605, allocations: 249.1 kB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.8622, allocations: 1.59 MB / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8622, allocations: 0 / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8622, allocations: 4 kB / 1.038 GB, free: 248 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.8622, allocations: 0 / 1.038 GB, free: 248 kB / 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.003301/0.8656, allocations: 1.682 MB / 1.04 GB, free: 14.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.8656, allocations: 12.56 kB / 1.04 GB, free: 14.49 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0232/0.8888, allocations: 3.876 MB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/0.9126, allocations: 3.774 MB / 1.047 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.9127, allocations: 54 kB / 1.047 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.9131, allocations: 79.95 kB / 1.047 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/0.9189, allocations: 2.04 MB / 1.049 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.919, allocations: 0 / 1.049 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.9191, allocations: 24 kB / 1.049 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.9192, allocations: 20 kB / 1.049 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005342/0.9245, allocations: 1.733 MB / 1.051 GB, free: 2.82 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.0101/0.9346, allocations: 7.366 MB / 1.058 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005293/0.9399, allocations: 1.817 MB / 1.06 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00473/0.9447, allocations: 1.517 MB / 1.061 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/0.9452, allocations: 396.9 kB / 1.062 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.9452, allocations: 39.12 kB / 1.062 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/0.9452, allocations: 0 / 1.062 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.03477/0.98, allocations: 8.927 MB / 1.07 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.9801, allocations: 59.97 kB / 1.071 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.9816, allocations: 1.06 MB / 1.072 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.9819, allocations: 41.7 kB / 1.072 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.9824, allocations: 492.8 kB / 1.072 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.9827, allocations: 240.4 kB / 1.072 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.9829, allocations: 12 kB / 1.072 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9831, allocations: 338 kB / 1.073 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008445/0.9915, allocations: 2.276 MB / 1.075 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008593/1, allocations: 2.39 MB / 1.077 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007899/1.008, allocations: 2.033 MB / 1.079 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.008, allocations: 0 / 1.079 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02206/1.03, allocations: 6.028 MB / 1.085 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/1.03, allocations: 95.97 kB / 1.085 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01759/1.048, allocations: 4.779 MB / 1.09 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08135/1.129, allocations: 10.43 MB / 1.1 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.133, allocations: 391.5 kB / 1.1 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007105/1.14, allocations: 3.052 MB / 1.103 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.144, allocations: 414.8 kB / 1.104 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/1.144, allocations: 71.92 kB / 1.104 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.144, allocations: 1.562 kB / 1.104 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01801/1.162, allocations: 5.153 MB / 1.109 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01537/1.178, allocations: 4.556 MB / 1.113 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/1.18, allocations: 0.8198 MB / 1.114 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/1.184, allocations: 483.4 kB / 1.115 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00936/1.193, allocations: 6.113 MB / 1.121 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.197, allocations: 406.9 kB / 1.121 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.198, allocations: 75.88 kB / 1.121 GB, free: 9.742 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.0009711/1.199, allocations: 473.2 kB / 1.121 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/1.199, allocations: 110.6 kB / 1.122 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/1.215, allocations: 4.78 MB / 1.126 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.215, allocations: 11.98 kB / 1.126 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.215, allocations: 4 kB / 1.126 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.215, allocations: 3.984 kB / 1.126 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/1.232, allocations: 6.549 MB / 1.133 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0314/1.263, allocations: 5.143 MB / 1.138 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.265, allocations: 199.7 kB / 1.138 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09881/1.364, allocations: 15.2 MB / 1.153 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003332/1.364, allocations: 43.89 kB / 1.153 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/1.371, allocations: 3.096 MB / 1.156 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.371, allocations: 0 / 1.156 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/1.403, allocations: 5.435 MB / 1.161 GB, free: 372 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.404, allocations: 495.2 kB / 1.162 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/1.405, allocations: 16 kB / 1.162 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.407, allocations: 235.6 kB / 1.162 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.407, allocations: 52.53 kB / 1.162 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.408, allocations: 51.95 kB / 1.162 GB, free: 15.51 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001289/1.409, allocations: 0.7528 MB / 1.163 GB, free: 14.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/1.409, allocations: 0 / 1.163 GB, free: 14.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002682/1.412, allocations: 0.7216 MB / 1.163 GB, free: 14.03 MB / 0.92 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.0004961/1.412, allocations: 182.8 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0219/1.434, allocations: 6.305 MB / 1.17 GB, free: 7.512 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.434, allocations: 0 / 1.17 GB, free: 7.512 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/1.44, allocations: 1.63 MB / 1.171 GB, free: 5.883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.442, allocations: 269.4 kB / 1.172 GB, free: 5.621 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009232/1.451, allocations: 3.749 MB / 1.175 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.452, allocations: 1.302 MB / 1.176 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004584/1.457, allocations: 0.8314 MB / 1.177 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008144/1.458, allocations: 119.3 kB / 1.177 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of SimCode: time 9.52e-07/1.458, allocations: 0 / 1.177 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.1139/1.572, allocations: 65.17 MB / 1.241 GB, free: 14.52 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches