Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001367/0.001367, allocations: 110.4 kB / 16.41 MB, free: 6.473 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.001408/0.001408, allocations: 192 kB / 17.34 MB, free: 5.711 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.488/1.488, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 75.83 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9744/0.9764, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.01079/0.9872, allocations: 6.591 MB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.208/1.195, allocations: 152 MB / 1.322 GB, free: 4.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/1.197, allocations: 15.94 kB / 1.322 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000755/1.197, allocations: 257.6 kB / 1.322 GB, free: 4.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/1.2, allocations: 0.7146 MB / 1.323 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/1.202, allocations: 1.045 MB / 1.324 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002603/1.205, allocations: 2.157 MB / 1.326 GB, free: 412 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/1.207, allocations: 0.936 MB / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/1.208, allocations: 0.7943 MB / 1.328 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/1.209, allocations: 0.86 MB / 1.329 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/1.209, allocations: 208 kB / 1.329 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/1.211, allocations: 0.7065 MB / 1.33 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/1.211, allocations: 486.6 kB / 1.33 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009493/1.212, allocations: 0.8981 MB / 1.331 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/1.215, allocations: 2.636 MB / 1.334 GB, free: 8.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.215, allocations: 0 / 1.334 GB, free: 8.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.215, allocations: 0 / 1.334 GB, free: 8.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.266e-05/1.215, allocations: 0 / 1.334 GB, free: 8.84 MB / 1.061 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.003739/1.219, allocations: 2.019 MB / 1.336 GB, free: 6.762 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.219, allocations: 8.922 kB / 1.336 GB, free: 6.754 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1077/1.327, allocations: 15.4 MB / 1.351 GB, free: 7.332 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/1.33, allocations: 1.407 MB / 1.352 GB, free: 5.879 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.33, allocations: 106.7 kB / 1.352 GB, free: 5.773 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/1.331, allocations: 143.9 kB / 1.352 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/1.368, allocations: 8.037 MB / 1.36 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/1.369, allocations: 3.938 kB / 1.36 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/1.369, allocations: 60 kB / 1.36 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.369, allocations: 32 kB / 1.36 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07117/1.44, allocations: 14.14 MB / 1.374 GB, free: 15.27 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04643/1.487, allocations: 11.49 MB / 1.385 GB, free: 3.605 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0418/1.528, allocations: 8.279 MB / 1.393 GB, free: 11.32 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03476/1.563, allocations: 6.495 MB / 1.4 GB, free: 4.809 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/1.564, allocations: 0.6061 MB / 1.4 GB, free: 4.074 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03604/1.6, allocations: 7.057 MB / 1.407 GB, free: 12.99 MB / 1.139 GB Notification: Performance of pre-optimization done (n=115): time 2.775e-06/1.6, allocations: 4 kB / 1.407 GB, free: 12.99 MB / 1.139 GB Notification: Performance of matching and sorting (n=115): time 0.1027/1.703, allocations: 18.96 MB / 1.426 GB, free: 9.969 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/1.703, allocations: 192.9 kB / 1.426 GB, free: 9.738 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.705, allocations: 0.8139 MB / 1.427 GB, free: 8.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005949/1.705, allocations: 49.7 kB / 1.427 GB, free: 8.855 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005711/1.706, allocations: 0.5521 MB / 1.427 GB, free: 8.297 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/1.706, allocations: 392.7 kB / 1.428 GB, free: 7.91 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/1.708, allocations: 378.5 kB / 1.428 GB, free: 7.535 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.708, allocations: 353.9 kB / 1.428 GB, free: 7.184 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03474/1.743, allocations: 6.564 MB / 1.435 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03641/1.779, allocations: 6.707 MB / 1.441 GB, free: 9.875 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08804/1.867, allocations: 11.22 MB / 1.452 GB, free: 14.62 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.867, allocations: 0 / 1.452 GB, free: 14.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.07148/1.939, allocations: 12.68 MB / 1.465 GB, free: 1.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.939, allocations: 4 kB / 1.465 GB, free: 1.906 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.939, allocations: 4 kB / 1.465 GB, free: 1.902 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/1.94, allocations: 84.83 kB / 1.465 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02787/1.967, allocations: 2.679 MB / 1.467 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/1.971, allocations: 1.649 MB / 1.469 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02694/1.998, allocations: 2.468 MB / 1.471 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009814/1.999, allocations: 111.8 kB / 1.471 GB, free: 10.76 MB / 1.201 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 (142): * Single equations (assignments): 141 * 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.00184/2.001, allocations: 352.5 kB / 1.472 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009417/2.002, allocations: 115.2 kB / 1.472 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07924/2.081, allocations: 13.2 MB / 1.485 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/2.081, allocations: 12 kB / 1.485 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/2.081, allocations: 3.938 kB / 1.485 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/2.081, allocations: 7.969 kB / 1.485 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/2.086, allocations: 2.462 MB / 1.487 GB, free: 10.53 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/2.086, allocations: 0 / 1.487 GB, free: 10.53 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02699/2.113, allocations: 2.656 MB / 1.49 GB, free: 7.871 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007147/2.113, allocations: 76.78 kB / 1.49 GB, free: 7.793 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/2.115, allocations: 95.81 kB / 1.49 GB, free: 7.699 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/2.118, allocations: 1.674 MB / 1.492 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.118, allocations: 4.062 kB / 1.492 GB, free: 5.875 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07321/2.191, allocations: 12.56 MB / 1.504 GB, free: 9.273 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/2.193, allocations: 0.808 MB / 1.505 GB, free: 8.445 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009513/2.194, allocations: 39.88 kB / 1.505 GB, free: 8.406 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01915/2.213, allocations: 2.398 MB / 1.507 GB, free: 6.004 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/2.214, allocations: 101.2 kB / 1.507 GB, free: 5.906 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006861/2.215, allocations: 103.8 kB / 1.507 GB, free: 5.805 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001091/2.216, allocations: 0.581 MB / 1.508 GB, free: 5.23 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.1e-07/2.216, allocations: 0 / 1.508 GB, free: 5.23 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002911/2.219, allocations: 0.7565 MB / 1.509 GB, free: 4.473 MB / 1.232 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.002898/2.222, allocations: 0.6548 MB / 1.509 GB, free: 3.973 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.07379/2.295, allocations: 13.46 MB / 1.522 GB, free: 6.488 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.295, allocations: 0 / 1.522 GB, free: 6.488 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.03619/2.332, allocations: 6.81 MB / 1.529 GB, free: 15.66 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/2.335, allocations: 347.5 kB / 1.529 GB, free: 15.34 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03957/2.374, allocations: 8.445 MB / 1.538 GB, free: 6.848 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/2.375, allocations: 1.19 MB / 1.539 GB, free: 5.625 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.004185/2.379, allocations: 0.7353 MB / 1.539 GB, free: 4.887 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/2.381, allocations: 259 kB / 1.54 GB, free: 4.633 MB / 1.264 GB Notification: Performance of SimCode: time 7.62e-07/2.381, allocations: 0 / 1.54 GB, free: 4.633 MB / 1.264 GB Notification: Performance of Templates: time 0.8/3.182, allocations: 42.3 MB / 1.581 GB, free: 223.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches