Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 77.55 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 159.6 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.029/3.029, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 71.88 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007241/1.119, allocations: 5.886 MB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2215/1.341, allocations: 134 MB / 1.29 GB, free: 3.113 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.342, allocations: 24.5 kB / 1.291 GB, free: 3.102 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008307/1.343, allocations: 250.8 kB / 1.291 GB, free: 2.934 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/1.346, allocations: 0.7311 MB / 1.291 GB, free: 2.477 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/1.349, allocations: 1.074 MB / 1.293 GB, free: 1.879 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003732/1.353, allocations: 2.171 MB / 1.295 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/1.354, allocations: 0.6099 MB / 1.295 GB, free: 384 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/1.356, allocations: 0.8281 MB / 1.296 GB, free: 15.96 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/1.357, allocations: 0.7724 MB / 1.297 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/1.358, allocations: 210 kB / 1.297 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/1.359, allocations: 0.719 MB / 1.298 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005852/1.36, allocations: 494.6 kB / 1.298 GB, free: 15.13 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/1.361, allocations: 0.7425 MB / 1.299 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004454/1.365, allocations: 2.699 MB / 1.302 GB, free: 12.96 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.365, allocations: 5.125 kB / 1.302 GB, free: 12.95 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.934e-06/1.365, allocations: 4 kB / 1.302 GB, free: 12.95 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.319e-05/1.366, allocations: 0 / 1.302 GB, free: 12.95 MB / 1.154 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.0051/1.371, allocations: 1.966 MB / 1.303 GB, free: 11.49 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.371, allocations: 9.625 kB / 1.303 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1188/1.489, allocations: 15.49 MB / 1.319 GB, free: 12 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/1.493, allocations: 1.354 MB / 1.32 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/1.493, allocations: 106.8 kB / 1.32 GB, free: 14.52 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004531/1.494, allocations: 132 kB / 1.32 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03909/1.533, allocations: 8.296 MB / 1.328 GB, free: 5.969 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/1.533, allocations: 0 / 1.328 GB, free: 5.969 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/1.533, allocations: 56 kB / 1.328 GB, free: 5.914 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/1.533, allocations: 35.94 kB / 1.328 GB, free: 5.879 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0745/1.608, allocations: 14.09 MB / 1.342 GB, free: 7.762 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04824/1.656, allocations: 9.828 MB / 1.352 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04346/1.7, allocations: 8.205 MB / 1.36 GB, free: 5.645 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0362/1.736, allocations: 6.444 MB / 1.366 GB, free: 15.19 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/1.736, allocations: 80.92 kB / 1.366 GB, free: 15.11 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03773/1.774, allocations: 7.165 MB / 1.373 GB, free: 7.891 MB / 1.217 GB Notification: Performance of pre-optimization done (n=115): time 5.681e-06/1.774, allocations: 0 / 1.373 GB, free: 7.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=115): time 0.1099/1.884, allocations: 18.87 MB / 1.391 GB, free: 4.984 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002398/1.884, allocations: 204.8 kB / 1.392 GB, free: 4.742 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/1.886, allocations: 0.7195 MB / 1.392 GB, free: 4.012 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0009754/1.887, allocations: 57.69 kB / 1.392 GB, free: 3.949 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009263/1.888, allocations: 0.5638 MB / 1.393 GB, free: 3.375 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.89, allocations: 388.7 kB / 1.393 GB, free: 2.992 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002151/1.892, allocations: 378.5 kB / 1.394 GB, free: 2.617 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0004028/1.892, allocations: 402.7 kB / 1.394 GB, free: 2.215 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03547/1.928, allocations: 6.556 MB / 1.401 GB, free: 11.65 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03605/1.964, allocations: 6.867 MB / 1.407 GB, free: 4.707 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07822/2.042, allocations: 11.21 MB / 1.418 GB, free: 9.469 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/2.042, allocations: 4 kB / 1.418 GB, free: 9.465 MB / 1.264 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.07975/2.122, allocations: 12.64 MB / 1.431 GB, free: 12.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/2.122, allocations: 8 kB / 1.431 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/2.122, allocations: 0 / 1.431 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006806/2.122, allocations: 84.83 kB / 1.431 GB, free: 12.71 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01997/2.142, allocations: 2.675 MB / 1.433 GB, free: 10.03 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/2.145, allocations: 1.516 MB / 1.435 GB, free: 8.406 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02069/2.166, allocations: 2.452 MB / 1.437 GB, free: 5.949 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008622/2.166, allocations: 99.81 kB / 1.437 GB, free: 5.852 MB / 1.279 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.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (138): * Single equations (assignments): 137 * 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.001963/2.168, allocations: 352.8 kB / 1.438 GB, free: 5.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/2.17, allocations: 115.2 kB / 1.438 GB, free: 5.387 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07562/2.245, allocations: 13.19 MB / 1.451 GB, free: 8.168 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/2.245, allocations: 12 kB / 1.451 GB, free: 8.156 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/2.245, allocations: 0 / 1.451 GB, free: 8.156 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/2.245, allocations: 7.969 kB / 1.451 GB, free: 8.148 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/2.249, allocations: 1.411 MB / 1.452 GB, free: 6.703 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/2.249, allocations: 4 kB / 1.452 GB, free: 6.699 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01974/2.268, allocations: 2.656 MB / 1.455 GB, free: 4.039 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005648/2.269, allocations: 76.78 kB / 1.455 GB, free: 3.961 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007302/2.27, allocations: 87.81 kB / 1.455 GB, free: 3.875 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/2.272, allocations: 1.54 MB / 1.456 GB, free: 2.23 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.272, allocations: 0 / 1.456 GB, free: 2.23 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07261/2.344, allocations: 12.56 MB / 1.468 GB, free: 5.629 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/2.347, allocations: 0.7249 MB / 1.469 GB, free: 4.902 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008187/2.348, allocations: 28 kB / 1.469 GB, free: 4.875 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01954/2.367, allocations: 2.402 MB / 1.472 GB, free: 2.469 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/2.368, allocations: 101.1 kB / 1.472 GB, free: 2.367 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006774/2.368, allocations: 111.8 kB / 1.472 GB, free: 2.258 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001022/2.369, allocations: 0.5146 MB / 1.472 GB, free: 1.75 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/2.369, allocations: 0 / 1.472 GB, free: 1.75 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003131/2.372, allocations: 0.768 MB / 1.473 GB, free: 0.9805 MB / 1.311 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 (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.002983/2.375, allocations: 0.6988 MB / 1.474 GB, free: 0.4922 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.07446/2.45, allocations: 13.39 MB / 1.487 GB, free: 3.07 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/2.45, allocations: 0 / 1.487 GB, free: 3.07 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.03703/2.487, allocations: 6.759 MB / 1.493 GB, free: 12.29 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/2.49, allocations: 324.5 kB / 1.494 GB, free: 11.99 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04141/2.531, allocations: 8.446 MB / 1.502 GB, free: 3.504 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/2.532, allocations: 0.6121 MB / 1.502 GB, free: 2.859 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.00434/2.536, allocations: 0.7347 MB / 1.503 GB, free: 2.121 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/2.538, allocations: 264 kB / 1.503 GB, free: 1.863 MB / 1.342 GB Notification: Performance of SimCode: time 1.704e-06/2.538, allocations: 3.938 kB / 1.503 GB, free: 1.859 MB / 1.342 GB Notification: Performance of Templates: time 0.07377/2.612, allocations: 43.63 MB / 1.546 GB, free: 6.461 MB / 1.389 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.710440670954995]