Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.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 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.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 84.22 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.001376/0.001377, 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.418 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.475/2.475, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8611, allocations: 142.4 MB / 0.9544 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006831/0.868, allocations: 4.633 MB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1765/1.045, allocations: 137.3 MB / 1.093 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/1.046, allocations: 27.81 kB / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008635/1.047, allocations: 146.8 kB / 1.093 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/1.049, allocations: 0.5021 MB / 1.094 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/1.052, allocations: 0.7691 MB / 1.094 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002958/1.055, allocations: 1.686 MB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/1.057, allocations: 0.7589 MB / 1.097 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/1.058, allocations: 0.4978 MB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/1.06, allocations: 0.5792 MB / 1.098 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004863/1.06, allocations: 48 kB / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/1.062, allocations: 479.5 kB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005076/1.062, allocations: 282.8 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/1.063, allocations: 280.9 kB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/1.065, allocations: 1.866 MB / 1.101 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.065, allocations: 0 / 1.101 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/1.066, allocations: 0 / 1.101 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.72e-05/1.066, allocations: 0 / 1.101 GB, free: 9.387 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.004256/1.07, allocations: 1.617 MB / 1.102 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.07, allocations: 12.03 kB / 1.102 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1065/1.176, allocations: 20.92 MB / 1.123 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/1.18, allocations: 1.352 MB / 1.124 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/1.18, allocations: 106.8 kB / 1.124 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007672/1.181, allocations: 136 kB / 1.124 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03816/1.219, allocations: 9.709 MB / 1.134 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/1.219, allocations: 7.984 kB / 1.134 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/1.219, allocations: 59.95 kB / 1.134 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/1.219, allocations: 32 kB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07045/1.29, allocations: 17.48 MB / 1.151 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/1.336, allocations: 12.89 MB / 1.164 GB, free: 8.758 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04069/1.376, allocations: 9.986 MB / 1.173 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03413/1.411, allocations: 8.167 MB / 1.181 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/1.411, allocations: 0.6062 MB / 1.182 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03466/1.446, allocations: 8.733 MB / 1.19 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=115): time 3.547e-06/1.446, allocations: 3.938 kB / 1.19 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=115): time 0.1002/1.546, allocations: 23.87 MB / 1.214 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/1.546, allocations: 192.9 kB / 1.214 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.548, allocations: 0.806 MB / 1.215 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006263/1.548, allocations: 49.69 kB / 1.215 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/1.549, allocations: 0.5431 MB / 1.215 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/1.549, allocations: 374.7 kB / 1.216 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.55, allocations: 27.94 kB / 1.216 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.55, allocations: 353.9 kB / 1.216 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03234/1.582, allocations: 8.24 MB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03189/1.614, allocations: 8.371 MB / 1.232 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02975/1.644, allocations: 7.19 MB / 1.239 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.644, allocations: 0 / 1.239 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.6928/2.337, allocations: 15.91 MB / 1.255 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/2.337, allocations: 9.656 kB / 1.255 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/2.337, allocations: 1.781 kB / 1.255 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/2.338, allocations: 84.19 kB / 1.255 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/2.357, allocations: 3.545 MB / 1.258 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/2.359, allocations: 1.533 MB / 1.26 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01729/2.376, allocations: 3.334 MB / 1.263 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006748/2.377, allocations: 106.2 kB / 1.263 GB, free: 283.4 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.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,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,ove.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 (142): * Single equations (assignments): 141 * 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.001205/2.378, allocations: 356.3 kB / 1.264 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/2.378, allocations: 112.6 kB / 1.264 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06262/2.441, allocations: 16.45 MB / 1.28 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/2.441, allocations: 23.94 kB / 1.28 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/2.441, allocations: 0 / 1.28 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/2.441, allocations: 7.969 kB / 1.28 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/2.444, allocations: 2.452 MB / 1.282 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/2.444, allocations: 0 / 1.282 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0159/2.459, allocations: 3.527 MB / 1.286 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/2.46, allocations: 87.02 kB / 1.286 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000435/2.46, allocations: 99.77 kB / 1.286 GB, free: 269 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/2.462, allocations: 1.552 MB / 1.287 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/2.462, allocations: 0 / 1.287 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0562/2.518, allocations: 15.8 MB / 1.303 GB, free: 251.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/2.519, allocations: 0.8228 MB / 1.304 GB, free: 250.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/2.52, allocations: 24 kB / 1.304 GB, free: 250.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01586/2.536, allocations: 3.287 MB / 1.307 GB, free: 247.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/2.536, allocations: 97.17 kB / 1.307 GB, free: 247.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/2.536, allocations: 107.9 kB / 1.307 GB, free: 247.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007221/2.537, allocations: 0.5693 MB / 1.308 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/2.537, allocations: 0 / 1.308 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001975/2.539, allocations: 0.7195 MB / 1.308 GB, free: 245.8 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * 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.001545/2.541, allocations: 0.6546 MB / 1.309 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.059/2.6, allocations: 16.81 MB / 1.325 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/2.6, allocations: 0 / 1.325 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02964/2.629, allocations: 8.476 MB / 1.334 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/2.631, allocations: 295.5 kB / 1.334 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/2.664, allocations: 10.81 MB / 1.344 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/2.665, allocations: 1.199 MB / 1.346 GB, free: 207.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003909/2.668, allocations: 0.7314 MB / 1.346 GB, free: 207 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/2.67, allocations: 255 kB / 1.347 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/2.67, allocations: 0 / 1.347 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04768/2.718, allocations: 38.17 MB / 1.384 GB, free: 168.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches