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.001091/0.001091, allocations: 99.47 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.0009818/0.0009818, 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.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.663/2.663, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003816, allocations: 11.98 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005193/1.032, allocations: 4.125 MB / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006406/1.038, allocations: 4.106 MB / 0.9615 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/1.039, allocations: 9.656 kB / 0.9616 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/1.04, allocations: 497.4 kB / 0.962 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009611/1.041, allocations: 395.7 kB / 0.9624 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/1.043, allocations: 0.5718 MB / 0.963 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001898/1.045, allocations: 1.126 MB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008272/1.046, allocations: 452 kB / 0.9645 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/1.047, allocations: 0.5069 MB / 0.965 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007477/1.048, allocations: 0.5888 MB / 0.9656 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/1.048, allocations: 62.28 kB / 0.9656 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/1.049, allocations: 306.3 kB / 0.9659 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/1.049, allocations: 243.5 kB / 0.9661 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/1.049, allocations: 258.8 kB / 0.9664 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.051, allocations: 1.556 MB / 0.9679 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/1.051, allocations: 0 / 0.9679 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.766e-06/1.051, allocations: 0 / 0.9679 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.806e-05/1.051, allocations: 5.031 kB / 0.9679 GB, free: 13.49 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.003563/1.054, allocations: 1.668 MB / 0.9695 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.054, allocations: 9.594 kB / 0.9696 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02638/1.081, allocations: 3.877 MB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02711/1.108, allocations: 3.753 MB / 0.977 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.091e-05/1.108, allocations: 58 kB / 0.9771 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000633/1.109, allocations: 72 kB / 0.9771 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/1.115, allocations: 2.029 MB / 0.9791 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/1.115, allocations: 0 / 0.9791 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.115, allocations: 28 kB / 0.9791 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.115, allocations: 23.98 kB / 0.9792 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/1.121, allocations: 1.733 MB / 0.9809 GB, free: 3.938 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.01211/1.133, allocations: 7.401 MB / 0.9881 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/1.138, allocations: 1.817 MB / 0.9899 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/1.139, allocations: 404.8 kB / 0.9902 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.139, allocations: 39.12 kB / 0.9903 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/1.139, allocations: 3.938 kB / 0.9903 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.03496/1.174, allocations: 8.737 MB / 0.9988 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.174, allocations: 67.89 kB / 0.9989 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/1.176, allocations: 1.06 MB / 0.9999 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/1.176, allocations: 37.7 kB / 1 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/1.177, allocations: 492.8 kB / 1 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/1.177, allocations: 240.4 kB / 1.001 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/1.178, allocations: 12 kB / 1.001 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.178, allocations: 333.9 kB / 1.001 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009474/1.187, allocations: 2.277 MB / 1.003 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01226/1.2, allocations: 2.394 MB / 1.006 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/1.212, allocations: 2.017 MB / 1.008 GB, free: 7.602 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.212, allocations: 7.938 kB / 1.008 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02776/1.24, allocations: 6.032 MB / 1.013 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.24, allocations: 95.92 kB / 1.014 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02055/1.261, allocations: 4.775 MB / 1.018 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0899/1.351, allocations: 10.43 MB / 1.028 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/1.355, allocations: 383.5 kB / 1.029 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008409/1.363, allocations: 3.052 MB / 1.032 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/1.369, allocations: 418.8 kB / 1.032 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/1.369, allocations: 75.91 kB / 1.032 GB, free: 14.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.369, allocations: 4 kB / 1.032 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02148/1.391, allocations: 5.145 MB / 1.037 GB, free: 9.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01851/1.409, allocations: 4.552 MB / 1.042 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.412, allocations: 0.8121 MB / 1.042 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/1.416, allocations: 491.3 kB / 1.043 GB, free: 3.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.428, allocations: 6.32 MB / 1.049 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005362/1.433, allocations: 403.1 kB / 1.049 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005837/1.434, allocations: 71.91 kB / 1.05 GB, free: 12.34 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.001768/1.436, allocations: 476.9 kB / 1.05 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006063/1.436, allocations: 118.5 kB / 1.05 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/1.455, allocations: 4.776 MB / 1.055 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.455, allocations: 8 kB / 1.055 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.455, allocations: 0 / 1.055 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/1.455, allocations: 3.984 kB / 1.055 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.475, allocations: 6.552 MB / 1.061 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03654/1.511, allocations: 5.155 MB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.513, allocations: 199.8 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1084/1.622, allocations: 15.2 MB / 1.081 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004321/1.622, allocations: 39.95 kB / 1.081 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007955/1.63, allocations: 3.084 MB / 1.084 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.63, allocations: 4 kB / 1.084 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03635/1.667, allocations: 5.463 MB / 1.09 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.668, allocations: 499.2 kB / 1.09 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005964/1.669, allocations: 23.94 kB / 1.09 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/1.672, allocations: 235.6 kB / 1.09 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.672, allocations: 40.59 kB / 1.09 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.673, allocations: 51.94 kB / 1.09 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001514/1.674, allocations: 0.7567 MB / 1.091 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.873e-06/1.674, allocations: 0 / 1.091 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003695/1.678, allocations: 0.7216 MB / 1.092 GB, free: 0.5742 MB / 0.8419 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.0006712/1.678, allocations: 183.1 kB / 1.092 GB, free: 396 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02536/1.704, allocations: 6.289 MB / 1.098 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.704, allocations: 7.938 kB / 1.098 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006443/1.71, allocations: 1.626 MB / 1.1 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.712, allocations: 255.8 kB / 1.1 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009822/1.722, allocations: 3.747 MB / 1.104 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.723, allocations: 1.326 MB / 1.105 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004235/1.728, allocations: 0.8353 MB / 1.106 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/1.729, allocations: 115.3 kB / 1.106 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/1.729, allocations: 0 / 1.106 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of Templates: time 0.101/1.829, allocations: 64.77 MB / 1.169 GB, free: 1.469 MB / 0.92 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","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches