Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_10_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_10_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.007966/0.007966, allocations: 104.4 kB / 15.74 MB, free: 6.027 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.001716/0.001716, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.826/2.826, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.293, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007128/0.3002, allocations: 6.076 MB / 1.173 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7426/1.043, allocations: 151.9 MB / 1.321 GB, free: 8.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/1.044, allocations: 15.91 kB / 1.321 GB, free: 8.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/1.044, allocations: 229.5 kB / 1.321 GB, free: 8.613 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/1.047, allocations: 0.6592 MB / 1.322 GB, free: 8.305 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/1.049, allocations: 1.01 MB / 1.323 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002308/1.051, allocations: 1.943 MB / 1.325 GB, free: 7.746 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/1.053, allocations: 0.8171 MB / 1.325 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/1.054, allocations: 0.7136 MB / 1.326 GB, free: 7.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.055, allocations: 0.7724 MB / 1.327 GB, free: 6.762 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002986/1.055, allocations: 171.8 kB / 1.327 GB, free: 6.762 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/1.057, allocations: 0.6703 MB / 1.328 GB, free: 6.602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000465/1.057, allocations: 434.6 kB / 1.328 GB, free: 6.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009314/1.058, allocations: 0.8021 MB / 1.329 GB, free: 5.812 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/1.061, allocations: 2.301 MB / 1.331 GB, free: 4.855 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.061, allocations: 1.094 kB / 1.331 GB, free: 4.855 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.061, allocations: 0 / 1.331 GB, free: 4.855 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.657e-05/1.062, allocations: 0 / 1.331 GB, free: 4.855 MB / 1.014 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.003952/1.066, allocations: 1.89 MB / 1.333 GB, free: 3.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.066, allocations: 11.16 kB / 1.333 GB, free: 3.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1238/1.189, allocations: 15.38 MB / 1.348 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/1.192, allocations: 1.233 MB / 1.349 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.192, allocations: 96.81 kB / 1.349 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005328/1.193, allocations: 124.1 kB / 1.349 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/1.23, allocations: 7.677 MB / 1.357 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.23, allocations: 4 kB / 1.357 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/1.23, allocations: 52.47 kB / 1.357 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/1.23, allocations: 27.66 kB / 1.357 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06846/1.298, allocations: 13.58 MB / 1.37 GB, free: 2.816 MB / 1.029 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.04152/1.34, allocations: 9.842 MB / 1.38 GB, free: 9.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03939/1.379, allocations: 7.915 MB / 1.388 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03291/1.412, allocations: 6.188 MB / 1.394 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/1.413, allocations: 0.6101 MB / 1.394 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03348/1.447, allocations: 6.749 MB / 1.401 GB, free: 4.191 MB / 1.061 GB Notification: Performance of pre-optimization done (n=113): time 5.179e-06/1.447, allocations: 0 / 1.401 GB, free: 4.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=113): time 0.09801/1.545, allocations: 18.18 MB / 1.419 GB, free: 1.957 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.545, allocations: 200.9 kB / 1.419 GB, free: 1.719 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.546, allocations: 0.7628 MB / 1.42 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007384/1.547, allocations: 49.7 kB / 1.42 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/1.547, allocations: 0.5014 MB / 1.42 GB, free: 392 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/1.548, allocations: 384.7 kB / 1.42 GB, free: 4 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/1.549, allocations: 374.5 kB / 1.421 GB, free: 15.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.549, allocations: 349.9 kB / 1.421 GB, free: 15.28 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03267/1.582, allocations: 6.314 MB / 1.427 GB, free: 8.961 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03303/1.615, allocations: 6.453 MB / 1.434 GB, free: 2.477 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06144/1.677, allocations: 10.92 MB / 1.444 GB, free: 7.535 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.677, allocations: 9.375 kB / 1.444 GB, free: 7.527 MB / 1.107 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06733/1.744, allocations: 12.26 MB / 1.456 GB, free: 11.23 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.744, allocations: 8 kB / 1.456 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.744, allocations: 0 / 1.456 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/1.745, allocations: 88.81 kB / 1.456 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/1.764, allocations: 2.679 MB / 1.459 GB, free: 8.453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.766, allocations: 1.633 MB / 1.461 GB, free: 6.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01849/1.784, allocations: 2.468 MB / 1.463 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006126/1.785, allocations: 107.8 kB / 1.463 GB, free: 4.102 MB / 1.123 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,ove.solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * 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 (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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001107/1.786, allocations: 324 kB / 1.463 GB, free: 3.777 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/1.787, allocations: 107.3 kB / 1.464 GB, free: 3.672 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06794/1.855, allocations: 12.73 MB / 1.476 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/1.855, allocations: 12 kB / 1.476 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.855, allocations: 0 / 1.476 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/1.855, allocations: 11.97 kB / 1.476 GB, free: 6.891 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/1.858, allocations: 1.856 MB / 1.478 GB, free: 4.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.858, allocations: 0 / 1.478 GB, free: 4.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01796/1.876, allocations: 2.652 MB / 1.48 GB, free: 2.324 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/1.876, allocations: 84.72 kB / 1.48 GB, free: 2.238 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006928/1.877, allocations: 87.81 kB / 1.481 GB, free: 2.152 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/1.879, allocations: 1.654 MB / 1.482 GB, free: 360 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.879, allocations: 7.781 kB / 1.482 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0631/1.942, allocations: 12.09 MB / 1.494 GB, free: 4.223 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.944, allocations: 0.6712 MB / 1.495 GB, free: 3.531 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/1.944, allocations: 31.94 kB / 1.495 GB, free: 3.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01698/1.961, allocations: 2.403 MB / 1.497 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.961, allocations: 97.31 kB / 1.497 GB, free: 1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003647/1.962, allocations: 103.8 kB / 1.497 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007457/1.962, allocations: 0.5497 MB / 1.498 GB, free: 360 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.962, allocations: 0 / 1.498 GB, free: 360 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001926/1.964, allocations: 0.7254 MB / 1.498 GB, free: 15.62 MB / 1.17 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 (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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/1.966, allocations: 0.6558 MB / 1.499 GB, free: 15.14 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.06445/2.03, allocations: 12.92 MB / 1.512 GB, free: 2.195 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/2.031, allocations: 0 / 1.512 GB, free: 2.195 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.03333/2.064, allocations: 6.505 MB / 1.518 GB, free: 11.67 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/2.066, allocations: 330 kB / 1.518 GB, free: 11.37 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03589/2.102, allocations: 7.999 MB / 1.526 GB, free: 3.336 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/2.102, allocations: 1.147 MB / 1.527 GB, free: 2.156 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003599/2.106, allocations: 0.7312 MB / 1.528 GB, free: 1.422 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/2.108, allocations: 259 kB / 1.528 GB, free: 1.168 MB / 1.186 GB Notification: Performance of SimCode: time 1.182e-06/2.108, allocations: 0 / 1.528 GB, free: 1.168 MB / 1.186 GB Notification: Performance of Templates: time 0.05506/2.163, allocations: 38.96 MB / 1.566 GB, free: 10.34 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches