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.0009883/0.0009884, allocations: 99.62 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.001014/0.001014, allocations: 177.3 kB / 15.95 MB, free: 216 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 11.98 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5867, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.004834/0.5916, allocations: 4.259 MB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.7545, allocations: 128 MB / 1.15 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006362/0.7552, allocations: 15.94 kB / 1.15 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.7555, allocations: 95.11 kB / 1.15 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.7569, allocations: 0.5504 MB / 1.151 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.7587, allocations: 0.7641 MB / 1.151 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.76, allocations: 1.084 MB / 1.152 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008165/0.7608, allocations: 0.6421 MB / 1.153 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.7615, allocations: 494 kB / 1.154 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.7621, allocations: 0.5188 MB / 1.154 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.7622, allocations: 40 kB / 1.154 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008951/0.7631, allocations: 455.4 kB / 1.155 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.7634, allocations: 267 kB / 1.155 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.7636, allocations: 249 kB / 1.155 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.7651, allocations: 1.613 MB / 1.157 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7651, allocations: 0 / 1.157 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7651, allocations: 4 kB / 1.157 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.7651, allocations: 0 / 1.157 GB, free: 5.703 MB / 0.9044 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.003077/0.7682, allocations: 1.529 MB / 1.158 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7682, allocations: 19.92 kB / 1.158 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1205/0.8887, allocations: 20.91 MB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.8914, allocations: 1.164 MB / 1.18 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/0.8915, allocations: 98.47 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/0.8919, allocations: 128 kB / 1.18 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03898/0.9309, allocations: 9.333 MB / 1.189 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.931, allocations: 7.938 kB / 1.189 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.9313, allocations: 52 kB / 1.189 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.9313, allocations: 28 kB / 1.189 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07627/1.008, allocations: 16.92 MB / 1.206 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04669/1.054, allocations: 11.3 MB / 1.217 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04372/1.098, allocations: 9.617 MB / 1.226 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/1.099, allocations: 0.6101 MB / 1.227 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03725/1.136, allocations: 8.413 MB / 1.235 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=113): time 3.948e-06/1.136, allocations: 0 / 1.235 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=113): time 0.6027/1.739, allocations: 23.08 MB / 1.257 GB, free: 232 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/1.739, allocations: 195.9 kB / 1.258 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.74, allocations: 0.7608 MB / 1.258 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007043/1.741, allocations: 51.55 kB / 1.258 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/1.742, allocations: 0.4919 MB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008671/1.743, allocations: 365.5 kB / 1.259 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/1.743, allocations: 23.88 kB / 1.259 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.743, allocations: 349.1 kB / 1.26 GB, free: 231 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03866/1.782, allocations: 7.969 MB / 1.267 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03554/1.817, allocations: 8.108 MB / 1.275 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03179/1.849, allocations: 7.021 MB / 1.282 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.849, allocations: 0 / 1.282 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06718/1.916, allocations: 15.45 MB / 1.297 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.917, allocations: 4 kB / 1.297 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.917, allocations: 0 / 1.297 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/1.917, allocations: 88.83 kB / 1.297 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01933/1.936, allocations: 3.532 MB / 1.301 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/1.938, allocations: 1.529 MB / 1.302 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0191/1.957, allocations: 3.334 MB / 1.305 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006098/1.958, allocations: 108.5 kB / 1.306 GB, free: 201 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: 19 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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.001304/1.959, allocations: 319.2 kB / 1.306 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/1.96, allocations: 106.7 kB / 1.306 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06948/2.029, allocations: 15.97 MB / 1.322 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/2.03, allocations: 19.95 kB / 1.322 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/2.03, allocations: 0 / 1.322 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/2.03, allocations: 11.44 kB / 1.322 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/2.032, allocations: 1.857 MB / 1.323 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/2.032, allocations: 4 kB / 1.323 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01876/2.051, allocations: 3.527 MB / 1.327 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005566/2.051, allocations: 84.77 kB / 1.327 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005564/2.052, allocations: 99.77 kB / 1.327 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/2.053, allocations: 1.556 MB / 1.329 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.053, allocations: 0 / 1.329 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06683/2.12, allocations: 15.33 MB / 1.344 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/2.122, allocations: 0.6785 MB / 1.344 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/2.123, allocations: 27.98 kB / 1.344 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01789/2.141, allocations: 3.278 MB / 1.347 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/2.141, allocations: 101.2 kB / 1.348 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005243/2.142, allocations: 103.8 kB / 1.348 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007451/2.142, allocations: 0.5381 MB / 1.348 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/2.142, allocations: 0 / 1.348 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002307/2.145, allocations: 0.7031 MB / 1.349 GB, free: 156.5 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.001783/2.147, allocations: 0.6507 MB / 1.349 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06896/2.216, allocations: 16.22 MB / 1.365 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/2.216, allocations: 4.062 kB / 1.365 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03518/2.251, allocations: 8.174 MB / 1.373 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/2.252, allocations: 256.1 kB / 1.374 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/2.29, allocations: 10.31 MB / 1.384 GB, free: 121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/2.291, allocations: 1.179 MB / 1.385 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004068/2.295, allocations: 0.7349 MB / 1.385 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/2.297, allocations: 247 kB / 1.386 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/2.297, allocations: 4 kB / 1.386 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04427/2.341, allocations: 35.15 MB / 1.42 GB, free: 83.82 MB / 0.9981 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","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches