Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 91.61 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.0009858/0.0009859, 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.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 9.5 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3868, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007763/0.3946, allocations: 5.277 MB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.5656, allocations: 137.4 MB / 1.197 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.5668, allocations: 23.88 kB / 1.197 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000626/0.5674, allocations: 162.7 kB / 1.198 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.5696, allocations: 0.5548 MB / 1.198 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.5719, allocations: 0.7656 MB / 1.199 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.5742, allocations: 1.717 MB / 1.2 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009595/0.5751, allocations: 0.5959 MB / 1.201 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.5761, allocations: 0.4941 MB / 1.202 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.5768, allocations: 0.5794 MB / 1.202 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.577, allocations: 44 kB / 1.202 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.578, allocations: 483.5 kB / 1.203 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.5783, allocations: 274.8 kB / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.5786, allocations: 269 kB / 1.203 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.5808, allocations: 1.644 MB / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.5808, allocations: 0 / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.517e-06/0.5808, allocations: 0 / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.896e-05/0.5809, allocations: 0 / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003889/0.5848, allocations: 1.556 MB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.5849, allocations: 15.97 kB / 1.206 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09745/0.6823, allocations: 20.92 MB / 1.227 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.6852, allocations: 1.172 MB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.6853, allocations: 90.47 kB / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/0.6857, allocations: 124 kB / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03231/0.718, allocations: 9.341 MB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.7181, allocations: 3.984 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.7184, allocations: 55.98 kB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.7184, allocations: 32 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7595/1.478, allocations: 16.92 MB / 1.254 GB, free: 189.5 MB / 0.9981 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.04283/1.521, allocations: 11.6 MB / 1.265 GB, free: 188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03901/1.56, allocations: 9.612 MB / 1.274 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03046/1.59, allocations: 7.869 MB / 1.282 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/1.591, allocations: 0.6029 MB / 1.283 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02948/1.62, allocations: 8.432 MB / 1.291 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 4.158e-06/1.62, allocations: 0 / 1.291 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.08264/1.703, allocations: 23.1 MB / 1.314 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.703, allocations: 196.9 kB / 1.314 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.704, allocations: 0.7627 MB / 1.314 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006946/1.705, allocations: 49.7 kB / 1.315 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/1.705, allocations: 0.4895 MB / 1.315 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/1.706, allocations: 370 kB / 1.315 GB, free: 156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/1.706, allocations: 27.83 kB / 1.315 GB, free: 156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/1.706, allocations: 349.9 kB / 1.316 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0271/1.733, allocations: 7.99 MB / 1.324 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02864/1.762, allocations: 8.117 MB / 1.331 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02604/1.788, allocations: 7.034 MB / 1.338 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.788, allocations: 0 / 1.338 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.05533/1.844, allocations: 15.51 MB / 1.353 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.844, allocations: 9.562 kB / 1.353 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.844, allocations: 0 / 1.353 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/1.844, allocations: 80.84 kB / 1.354 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/1.86, allocations: 3.546 MB / 1.357 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/1.862, allocations: 1.524 MB / 1.359 GB, free: 111.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/1.878, allocations: 3.34 MB / 1.362 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005926/1.879, allocations: 107.8 kB / 1.362 GB, free: 108.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,ove.solAzi.outsidePolarCircle,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 139 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009539/1.88, allocations: 327.1 kB / 1.362 GB, free: 107.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.88, allocations: 102.7 kB / 1.362 GB, free: 107.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05797/1.938, allocations: 15.98 MB / 1.378 GB, free: 91.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.938, allocations: 12 kB / 1.378 GB, free: 91.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.938, allocations: 3.953 kB / 1.378 GB, free: 91.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.938, allocations: 11.97 kB / 1.378 GB, free: 91.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.941, allocations: 1.849 MB / 1.38 GB, free: 89.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.941, allocations: 0 / 1.38 GB, free: 89.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01604/1.957, allocations: 3.523 MB / 1.383 GB, free: 86.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/1.957, allocations: 84.95 kB / 1.383 GB, free: 86.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006015/1.958, allocations: 91.81 kB / 1.383 GB, free: 86.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/1.959, allocations: 1.546 MB / 1.385 GB, free: 84.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.959, allocations: 0.875 kB / 1.385 GB, free: 84.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05546/2.015, allocations: 15.33 MB / 1.4 GB, free: 69.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/2.016, allocations: 0.6784 MB / 1.4 GB, free: 68.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/2.017, allocations: 27.98 kB / 1.401 GB, free: 68.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01514/2.032, allocations: 3.289 MB / 1.404 GB, free: 65.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/2.032, allocations: 93.17 kB / 1.404 GB, free: 64.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004023/2.033, allocations: 111.8 kB / 1.404 GB, free: 64.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006366/2.033, allocations: 0.5341 MB / 1.404 GB, free: 64.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.033, allocations: 3.609 kB / 1.404 GB, free: 64.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00195/2.035, allocations: 0.7193 MB / 1.405 GB, free: 63.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/2.037, allocations: 0.6462 MB / 1.406 GB, free: 63.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.05537/2.092, allocations: 16.25 MB / 1.422 GB, free: 46.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/2.092, allocations: 4.062 kB / 1.422 GB, free: 46.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02842/2.121, allocations: 8.174 MB / 1.43 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/2.123, allocations: 303.4 kB / 1.43 GB, free: 38.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/2.152, allocations: 10.18 MB / 1.44 GB, free: 28.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/2.153, allocations: 1.154 MB / 1.441 GB, free: 27.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003996/2.157, allocations: 0.7272 MB / 1.442 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/2.159, allocations: 259 kB / 1.442 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/2.159, allocations: 0 / 1.442 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of Templates: time 0.04956/2.208, allocations: 35.78 MB / 1.477 GB, free: 6.422 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches