Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008295/0.0008295, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009868/0.0009869, allocations: 168.7 kB / 15.95 MB, free: 204 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.9 MB / 0.666 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003599, allocations: 12 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8229, allocations: 142.4 MB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.004295/0.8272, allocations: 4.449 MB / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.8325, allocations: 4.276 MB / 0.963 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.8332, allocations: 13.97 kB / 0.963 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.8347, allocations: 492.8 kB / 0.9635 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009446/0.8357, allocations: 352.6 kB / 0.9638 GB, free: 140 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.8379, allocations: 0.5619 MB / 0.9643 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.8406, allocations: 1.701 MB / 0.966 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.8415, allocations: 461.5 kB / 0.9664 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.8425, allocations: 0.5216 MB / 0.9669 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009629/0.8435, allocations: 0.6498 MB / 0.9676 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.8437, allocations: 65.88 kB / 0.9676 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.8446, allocations: 299.6 kB / 0.9679 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.8449, allocations: 258.8 kB / 0.9682 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.8452, allocations: 254.4 kB / 0.9684 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.847, allocations: 1.585 MB / 0.97 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.847, allocations: 1.156 kB / 0.97 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.847, allocations: 0 / 0.97 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.8471, allocations: 0 / 0.97 GB, free: 12.24 MB / 0.7325 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.003357/0.8504, allocations: 1.68 MB / 0.9716 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8505, allocations: 9.969 kB / 0.9716 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02316/0.8736, allocations: 3.881 MB / 0.9754 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02269/0.8963, allocations: 3.77 MB / 0.9791 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.8965, allocations: 58 kB / 0.9791 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006909/0.8972, allocations: 72 kB / 0.9792 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005713/0.9029, allocations: 2.033 MB / 0.9812 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.9029, allocations: 0 / 0.9812 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.9031, allocations: 28 kB / 0.9812 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.9031, allocations: 20 kB / 0.9812 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005007/0.9081, allocations: 1.741 MB / 0.9829 GB, free: 2.105 MB / 0.7325 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.009879/0.918, allocations: 7.369 MB / 0.9901 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.9231, allocations: 1.821 MB / 0.9919 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004369/0.9275, allocations: 1.51 MB / 0.9934 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/0.928, allocations: 400.9 kB / 0.9938 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.928, allocations: 43.08 kB / 0.9938 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.856e-06/0.9281, allocations: 3.938 kB / 0.9938 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.03184/0.9599, allocations: 8.923 MB / 1.003 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.96, allocations: 59.97 kB / 1.003 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.9616, allocations: 1.064 MB / 1.004 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002988/0.9619, allocations: 41.7 kB / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.9624, allocations: 496.8 kB / 1.004 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.9627, allocations: 248.4 kB / 1.004 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.9629, allocations: 8 kB / 1.004 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9631, allocations: 334 kB / 1.005 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00769/0.9708, allocations: 2.28 MB / 1.007 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007785/0.9786, allocations: 2.394 MB / 1.009 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007348/0.9859, allocations: 2.021 MB / 1.011 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.986, allocations: 0 / 1.011 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02048/1.006, allocations: 6.036 MB / 1.017 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/1.007, allocations: 91.97 kB / 1.017 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01647/1.023, allocations: 4.772 MB / 1.022 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07836/1.101, allocations: 10.44 MB / 1.032 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/1.105, allocations: 387.5 kB / 1.032 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/1.112, allocations: 3.056 MB / 1.035 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.116, allocations: 410.8 kB / 1.036 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/1.117, allocations: 75.91 kB / 1.036 GB, free: 10.76 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.117, allocations: 4 kB / 1.036 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01776/1.134, allocations: 5.145 MB / 1.041 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01545/1.15, allocations: 4.549 MB / 1.045 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/1.152, allocations: 0.8199 MB / 1.046 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004158/1.156, allocations: 487.3 kB / 1.047 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009103/1.165, allocations: 6.125 MB / 1.053 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00426/1.17, allocations: 406.9 kB / 1.053 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/1.17, allocations: 71.92 kB / 1.053 GB, free: 9.016 MB / 0.8106 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.0009228/1.171, allocations: 476.9 kB / 1.054 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/1.171, allocations: 106.6 kB / 1.054 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/1.186, allocations: 4.776 MB / 1.058 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.186, allocations: 7.938 kB / 1.058 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.186, allocations: 0 / 1.058 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.186, allocations: 11.94 kB / 1.058 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/1.203, allocations: 6.541 MB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03017/1.233, allocations: 5.159 MB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.235, allocations: 195.8 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09388/1.329, allocations: 15.2 MB / 1.085 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004388/1.329, allocations: 43.94 kB / 1.085 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006887/1.336, allocations: 3.088 MB / 1.088 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.336, allocations: 0 / 1.088 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03127/1.368, allocations: 5.443 MB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.369, allocations: 0.4914 MB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.369, allocations: 19.98 kB / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.372, allocations: 235.6 kB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.372, allocations: 48.55 kB / 1.094 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.372, allocations: 43.95 kB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001161/1.373, allocations: 0.7528 MB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/1.373, allocations: 0 / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002157/1.375, allocations: 0.7256 MB / 1.095 GB, free: 13.3 MB / 0.8575 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.0004011/1.376, allocations: 175 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0208/1.397, allocations: 6.301 MB / 1.102 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.397, allocations: 0 / 1.102 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005432/1.402, allocations: 1.622 MB / 1.103 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.404, allocations: 273.5 kB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/1.412, allocations: 3.745 MB / 1.107 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/1.413, allocations: 1.306 MB / 1.108 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004667/1.418, allocations: 0.8314 MB / 1.109 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/1.418, allocations: 119.3 kB / 1.109 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of SimCode: time 1.482e-06/1.418, allocations: 0 / 1.109 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.105/1.523, allocations: 65.17 MB / 1.173 GB, free: 13.8 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches