Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_9_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_9_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.00817/0.00817, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001791/0.001791, allocations: 189 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 55.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.791, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.00573/0.7968, allocations: 5.073 MB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.9767, allocations: 151.5 MB / 1.241 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.978, allocations: 20.25 kB / 1.241 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.979, allocations: 188 kB / 1.241 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.9821, allocations: 0.589 MB / 1.242 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.9853, allocations: 0.9902 MB / 1.243 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.9884, allocations: 1.789 MB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.9902, allocations: 0.8759 MB / 1.245 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.992, allocations: 0.6858 MB / 1.246 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.9937, allocations: 0.7586 MB / 1.247 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.9943, allocations: 172 kB / 1.247 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.9963, allocations: 0.6674 MB / 1.247 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006336/0.997, allocations: 438.7 kB / 1.248 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.9985, allocations: 0.7579 MB / 1.249 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/1.002, allocations: 2.237 MB / 1.251 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.002, allocations: 3.938 kB / 1.251 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.002, allocations: 0 / 1.251 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.286e-05/1.002, allocations: 0 / 1.251 GB, free: 6.914 MB / 0.9825 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.004179/1.007, allocations: 1.822 MB / 1.253 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.007, allocations: 11.97 kB / 1.253 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1055/1.112, allocations: 15.38 MB / 1.268 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/1.115, allocations: 1.227 MB / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.221e-05/1.115, allocations: 90.47 kB / 1.269 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004287/1.115, allocations: 124 kB / 1.269 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03234/1.148, allocations: 7.669 MB / 1.276 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/1.148, allocations: 0 / 1.276 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/1.148, allocations: 52 kB / 1.277 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/1.148, allocations: 32 kB / 1.277 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06252/1.211, allocations: 13.58 MB / 1.29 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03971/1.25, allocations: 9.504 MB / 1.299 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03868/1.289, allocations: 7.9 MB / 1.307 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03136/1.321, allocations: 6.194 MB / 1.313 GB, free: 7.004 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/1.321, allocations: 0.5984 MB / 1.313 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0321/1.353, allocations: 6.753 MB / 1.32 GB, free: 15.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=113): time 4.158e-06/1.353, allocations: 0 / 1.32 GB, free: 15.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=113): time 0.09455/1.448, allocations: 18.17 MB / 1.338 GB, free: 13.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.448, allocations: 192.9 kB / 1.338 GB, free: 13.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.449, allocations: 0.7744 MB / 1.339 GB, free: 12.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004605/1.45, allocations: 45.7 kB / 1.339 GB, free: 12.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/1.45, allocations: 0.4887 MB / 1.339 GB, free: 11.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004962/1.451, allocations: 378.5 kB / 1.34 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009663/1.452, allocations: 366.5 kB / 1.34 GB, free: 10.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.452, allocations: 349.9 kB / 1.34 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0313/1.483, allocations: 6.326 MB / 1.346 GB, free: 4.289 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03093/1.514, allocations: 6.441 MB / 1.353 GB, free: 13.82 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05823/1.572, allocations: 10.92 MB / 1.363 GB, free: 2.879 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.572, allocations: 0 / 1.363 GB, free: 2.879 MB / 1.092 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06248/1.635, allocations: 12.26 MB / 1.375 GB, free: 6.59 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.635, allocations: 4 kB / 1.375 GB, free: 6.586 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.635, allocations: 0 / 1.375 GB, free: 6.586 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/1.636, allocations: 84.84 kB / 1.375 GB, free: 6.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0181/1.654, allocations: 2.683 MB / 1.378 GB, free: 3.812 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.656, allocations: 1.636 MB / 1.38 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/1.674, allocations: 2.456 MB / 1.382 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004804/1.674, allocations: 107.8 kB / 1.382 GB, free: 15.46 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.001061/1.675, allocations: 315.8 kB / 1.383 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/1.676, allocations: 106.7 kB / 1.383 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06319/1.739, allocations: 12.72 MB / 1.395 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.739, allocations: 16 kB / 1.395 GB, free: 2.273 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.739, allocations: 0 / 1.395 GB, free: 2.273 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/1.739, allocations: 7.969 kB / 1.395 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/1.742, allocations: 1.856 MB / 1.397 GB, free: 368 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.742, allocations: 0 / 1.397 GB, free: 368 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01774/1.76, allocations: 2.656 MB / 1.399 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/1.76, allocations: 76.78 kB / 1.4 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005436/1.761, allocations: 95.81 kB / 1.4 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/1.763, allocations: 1.654 MB / 1.401 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.763, allocations: 3.938 kB / 1.401 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06191/1.825, allocations: 12.09 MB / 1.413 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.826, allocations: 0.659 MB / 1.414 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.827, allocations: 31.88 kB / 1.414 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01904/1.846, allocations: 2.402 MB / 1.416 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.846, allocations: 97.17 kB / 1.416 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003815/1.846, allocations: 107.8 kB / 1.416 GB, free: 12.28 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00075/1.847, allocations: 0.5419 MB / 1.417 GB, free: 11.74 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.847, allocations: 0 / 1.417 GB, free: 11.74 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00188/1.849, allocations: 0.7021 MB / 1.417 GB, free: 11.04 MB / 1.154 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.001618/1.851, allocations: 0.6563 MB / 1.418 GB, free: 10.56 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.06374/1.914, allocations: 12.91 MB / 1.431 GB, free: 13.62 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.914, allocations: 8.062 kB / 1.431 GB, free: 13.62 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.03209/1.947, allocations: 6.497 MB / 1.437 GB, free: 7.102 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.948, allocations: 321.2 kB / 1.437 GB, free: 6.805 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/1.983, allocations: 8.065 MB / 1.445 GB, free: 14.7 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/1.984, allocations: 1.147 MB / 1.446 GB, free: 13.52 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003169/1.987, allocations: 0.7349 MB / 1.447 GB, free: 12.79 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.988, allocations: 247 kB / 1.447 GB, free: 12.55 MB / 1.186 GB Notification: Performance of SimCode: time 1.173e-06/1.988, allocations: 0 / 1.447 GB, free: 12.55 MB / 1.186 GB Notification: Performance of Templates: time 0.05635/2.045, allocations: 39.38 MB / 1.486 GB, free: 5.266 MB / 1.217 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches