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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001628/0.001628, allocations: 104 kB / 15.98 MB, free: 6.355 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.00181/0.00181, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 482.4 MB / 0.755 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.98 kB / 0.924 GB, free: 376 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7362, allocations: 162.2 MB / 1.082 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008052/0.7443, allocations: 6.051 MB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.9246, allocations: 149.7 MB / 1.235 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.9258, allocations: 23.88 kB / 1.235 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.9265, allocations: 170.6 kB / 1.235 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.9285, allocations: 0.5863 MB / 1.235 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.9308, allocations: 0.9068 MB / 1.236 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.933, allocations: 1.936 MB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.9342, allocations: 0.8122 MB / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009626/0.9352, allocations: 0.7086 MB / 1.24 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009031/0.9361, allocations: 0.786 MB / 1.24 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.9363, allocations: 172 kB / 1.24 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.9375, allocations: 0.644 MB / 1.241 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.9379, allocations: 442.6 kB / 1.242 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.9387, allocations: 0.7969 MB / 1.242 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.9407, allocations: 1.715 MB / 1.244 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9407, allocations: 0 / 1.244 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9407, allocations: 4 kB / 1.244 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.9408, allocations: 0 / 1.244 GB, free: 9.184 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.003618/0.9444, allocations: 1.841 MB / 1.246 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9444, allocations: 8.031 kB / 1.246 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1095/1.054, allocations: 15.37 MB / 1.261 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/1.056, allocations: 1.207 MB / 1.262 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.056, allocations: 94.47 kB / 1.262 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/1.057, allocations: 120 kB / 1.262 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/1.092, allocations: 7.673 MB / 1.27 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.092, allocations: 3.938 kB / 1.27 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/1.093, allocations: 56 kB / 1.27 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/1.093, allocations: 28 kB / 1.27 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06829/1.161, allocations: 13.58 MB / 1.283 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04108/1.202, allocations: 10.02 MB / 1.293 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03985/1.242, allocations: 7.915 MB / 1.301 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03231/1.274, allocations: 6.187 MB / 1.307 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/1.275, allocations: 0.6062 MB / 1.307 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0342/1.309, allocations: 6.745 MB / 1.314 GB, free: 1.145 MB / 1.029 GB Notification: Performance of pre-optimization done (n=113): time 6.883e-06/1.309, allocations: 0 / 1.314 GB, free: 1.145 MB / 1.029 GB Notification: Performance of matching and sorting (n=113): time 0.09847/1.408, allocations: 18.19 MB / 1.332 GB, free: 14.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.408, allocations: 192.9 kB / 1.332 GB, free: 14.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.409, allocations: 0.7705 MB / 1.332 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000474/1.41, allocations: 45.7 kB / 1.332 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/1.41, allocations: 0.4926 MB / 1.333 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005816/1.411, allocations: 366.7 kB / 1.333 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.412, allocations: 374.4 kB / 1.334 GB, free: 12.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.412, allocations: 349.9 kB / 1.334 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03275/1.445, allocations: 6.322 MB / 1.34 GB, free: 5.926 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03318/1.478, allocations: 6.445 MB / 1.346 GB, free: 15.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0624/1.54, allocations: 10.93 MB / 1.357 GB, free: 4.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.54, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06682/1.607, allocations: 12.27 MB / 1.369 GB, free: 8.207 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.607, allocations: 7.938 kB / 1.369 GB, free: 8.199 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.607, allocations: 4.062 kB / 1.369 GB, free: 8.195 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/1.608, allocations: 92.7 kB / 1.369 GB, free: 8.102 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01916/1.627, allocations: 2.671 MB / 1.372 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.63, allocations: 1.636 MB / 1.373 GB, free: 3.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/1.648, allocations: 2.467 MB / 1.376 GB, free: 1.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005564/1.648, allocations: 111.8 kB / 1.376 GB, free: 1.07 MB / 1.092 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.001106/1.649, allocations: 311.9 kB / 1.376 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/1.65, allocations: 102.8 kB / 1.376 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06591/1.716, allocations: 12.73 MB / 1.389 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/1.716, allocations: 12 kB / 1.389 GB, free: 3.879 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.716, allocations: 3.938 kB / 1.389 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.716, allocations: 7.969 kB / 1.389 GB, free: 3.867 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/1.719, allocations: 1.846 MB / 1.391 GB, free: 1.961 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.719, allocations: 4 kB / 1.391 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0183/1.737, allocations: 2.652 MB / 1.393 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/1.737, allocations: 76.78 kB / 1.393 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005499/1.738, allocations: 91.81 kB / 1.393 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.74, allocations: 1.663 MB / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.74, allocations: 0 / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0638/1.804, allocations: 12.09 MB / 1.407 GB, free: 1.199 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.805, allocations: 0.6629 MB / 1.407 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/1.806, allocations: 35.88 kB / 1.407 GB, free: 492 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01696/1.823, allocations: 2.406 MB / 1.41 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/1.823, allocations: 101.2 kB / 1.41 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00046/1.824, allocations: 99.81 kB / 1.41 GB, free: 13.88 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000796/1.825, allocations: 0.542 MB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.1e-07/1.825, allocations: 4 kB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002084/1.827, allocations: 0.7255 MB / 1.411 GB, free: 12.61 MB / 1.139 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.002181/1.829, allocations: 0.6402 MB / 1.412 GB, free: 12.14 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.06744/1.896, allocations: 13.28 MB / 1.425 GB, free: 14.83 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.896, allocations: 0 / 1.425 GB, free: 14.83 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.03368/1.93, allocations: 6.513 MB / 1.431 GB, free: 8.297 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.932, allocations: 335.5 kB / 1.432 GB, free: 7.988 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/1.968, allocations: 8.597 MB / 1.44 GB, free: 15.35 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/1.969, allocations: 1.155 MB / 1.441 GB, free: 14.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002625/1.972, allocations: 322.9 kB / 1.441 GB, free: 13.85 MB / 1.17 GB Notification: Performance of SimCode: time 8.82e-07/1.972, allocations: 0 / 1.441 GB, free: 13.85 MB / 1.17 GB Notification: Performance of Templates: time 0.06135/2.033, allocations: 44.72 MB / 1.485 GB, free: 1.121 MB / 1.201 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=400 -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/jenkins1/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